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

Cannot use EasyWeChat\OpenPlatform\Traits\VerifyTicket as VerifyTicket because the name is already in use #579

Closed
wenbinye opened this issue Feb 3, 2017 · 2 comments

Comments

@wenbinye
Copy link

wenbinye commented Feb 3, 2017

我用的环境

PHP 版本:
overtrue/wechat 版本:3.2.3

问题及现象

Cannot use EasyWeChat\OpenPlatform\Traits\VerifyTicket as VerifyTicket because the name is already in use in /home/ywb/work/dsp/dsp/vendor/overtrue/wechat/src/OpenPlatform/AccessToken.php on line 31

在 OpenPlatform 名字空间下的 Guard, AccessToken 类中使用 EasyWeChat\OpenPlatform\Traits\VerifyTicket,同时这个名字空间下已有 VerifyTicket 类。建议 EasyWeChat\OpenPlatform\Traits\VerifyTicket 改名为 EasyWeChat\OpenPlatform\Traits\VerifyTicketTrait

@overtrue
Copy link
Collaborator

overtrue commented Feb 3, 2017

CC @mingyoung

@mingyoung
Copy link
Collaborator

#580

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

3 participants