Closed dmk629 closed 4 years ago
Describe the bug /vendor/swoft/http-server/src/Middleware/MiddlewareRegister.php 105行 两个相同变量进行非空判断。
if (!empty($oneMethodMiddlewares) || !empty($oneMethodMiddlewares)) { //more
@dmk629 在 2.0.9 里面已经修正了。可以升级一下到最新版本
https://github.com/swoft-cloud/swoft-component/blob/7aac80da2ecbc11a6b869e4ba2a83284d3fdcab0/src/http-server/src/Middleware/MiddlewareRegister.php#L105-L110
Describe the bug /vendor/swoft/http-server/src/Middleware/MiddlewareRegister.php 105行 两个相同变量进行非空判断。