Deprecated:Passing null to parameter of type int
jeyfang0110 opened this issue · comments
我用的环境
- PHP 版本:8.1.27
- overtrue/wechat 版本:5.35.0
- 框架名称:webman
问题及现象
在PHP8.1的版本下,运行会有deprecated提示,具体报错为
PHP Deprecated: Exception::__construct(): Passing null to parameter #2 ($code) of type int is deprecated in ***/vendor/w7corp/easywechat/src/Kernel/Exceptions/HttpException.php on line 43
我看到在6.15.0已经调整了参数,期望针对5.x版本做修复