This commit is contained in:
2021-08-30 18:53:26 +08:00
parent faa4890fb3
commit 4d1eb83019
+5 -7
View File
@@ -39,13 +39,11 @@ use Http\IInterface\MiddlewareInterface;
} }
/** /**
* @param static $params * @param mixed $class
* @param mixed $class * @param mixed|null $method
* @param mixed|null $method * @return $this
* @return $this */
* @throws ReflectionException
*/
public function execute(mixed $class, mixed $method = null): mixed public function execute(mixed $class, mixed $method = null): mixed
{ {
MiddlewareManager::addMiddlewares($class, $method, $this->middleware); MiddlewareManager::addMiddlewares($class, $method, $this->middleware);