This commit is contained in:
2021-09-16 14:19:05 +08:00
parent b94efaa63a
commit ad6aa3e7b5
3 changed files with 57 additions and 103 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ use Http\IInterface\MiddlewareInterface;
*/
public function execute(mixed $class, mixed $method = null): mixed
{
MiddlewareManager::addMiddlewares($class, $method, $this->middleware);
MiddlewareManager::add($class, $method, $this->middleware);
return parent::execute($class, $method);
}