Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.3 版本 数据类型不对导致无法运行 #928

Closed
micln opened this issue Sep 13, 2017 · 2 comments
Closed

3.3 版本 数据类型不对导致无法运行 #928

micln opened this issue Sep 13, 2017 · 2 comments

Comments

@micln
Copy link

micln commented Sep 13, 2017

我用的环境

PHP 版本:7.0 7.1
overtrue/wechat 版本:3.3.14
是否使用了框架?框架名称:Laravel 5.3 5.4

问题及现象

问题代码:

https://github.com/overtrue/wechat/blob/3.3.14/src/Foundation/ServiceProviders/OAuthServiceProvider.php#L54

$pimple['config'] 是 Collection, 不能作为 in_array 的的参数

错误信息:

ErrorException: in_array() expects parameter 2 to be array, object given

vendor/overtrue/wechat/src/Foundation/ServiceProviders/OAuthServiceProvider.php:54
mingyoung added a commit that referenced this issue Sep 13, 2017
@micln
Copy link
Author

micln commented Sep 13, 2017

好快

@overtrue
Copy link
Collaborator

3.3.15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants