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

Call to undefined method EasySwoole\\Jwt\\Jwt::algMethod()? #4

Open
Xiaocge opened this issue Dec 3, 2019 · 1 comment
Open

Call to undefined method EasySwoole\\Jwt\\Jwt::algMethod()? #4

Xiaocge opened this issue Dec 3, 2019 · 1 comment

Comments

@Xiaocge
Copy link

Xiaocge commented Dec 3, 2019

升级版本后:

执行

$obj = \EasySwoole\Jwt\Jwt::getInstance()->algMethod('AES')->publish();

Call to undefined method EasySwoole\Jwt\Jwt::algMethod()?

升级为啥 要去除这个方法那........

@watsonhaw5566
Copy link

你可以看看新的文档,因为这个方法有了更好的setAlg方法。
如果需要使用旧的版本则composer锁定版本就好。

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