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

php 5.6 微信错误 麻烦修复 #21

Closed
lixiaolong2 opened this issue Dec 21, 2018 · 1 comment
Closed

php 5.6 微信错误 麻烦修复 #21

lixiaolong2 opened this issue Dec 21, 2018 · 1 comment

Comments

@lixiaolong2
Copy link

lixiaolong2 commented Dec 21, 2018

Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in E:\xampp\htdocs\TWCloud\vendor\zoujingli\wechat-developer\WeChat\Contracts\Tools.php on line 277

\zoujingli\wechat-developer\WeChat\Contracts\Tools.php

第277行 $data[$key] = ($myCurlFile = new MyCurlFile((array)$value))->get();

修改为
$myCurlFile = new MyCurlFile((array)$value);
$data[$key] = $myCurlFile->get();

@zoujingli
Copy link
Owner

已经修复

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