Closed xshiyun closed 1 year ago
发下你的php版本号、hyperf版本号,我测试一下,在php7.4以上版本测试没有出现过这个问题
hyperf 2.2
hyperf/command 3.0 这个库改了
emmm...晚上我测试一下看看
更新到v4.0.9问题就会解决,具体可以看看这个pr:https://github.com/phper666/jwt-auth/pull/64/commits/32b62e2c1427f72e92a6149006a88bf7edbda3b8
PHP Fatal error: Type of Phper666\JWTAuth\Command\JWTCommand::$name must not be defined (as in class Hyperf\Command\Command) in /www/wwwroot/senseu-v2/vendor/phper666/jwt-auth/src/Command/JWTCommand.php on line 55