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|null $method
* @return $this
* @throws ReflectionException
*/
/**
* @param mixed $class
* @param mixed|null $method
* @return $this
*/
public function execute(mixed $class, mixed $method = null): mixed
{
MiddlewareManager::addMiddlewares($class, $method, $this->middleware);