diff --git a/HttpServer/Route/Middleware.php b/HttpServer/Route/Middleware.php index 1ad931ae..a23c40e1 100644 --- a/HttpServer/Route/Middleware.php +++ b/HttpServer/Route/Middleware.php @@ -76,8 +76,9 @@ class Middleware if (empty($annotation)) { return; } + var_dump($annotation, $action); foreach ($annotation as $name => $_attribute) { - foreach ($_attribute as $attribute){ + foreach ($_attribute as $attribute) { if ($attribute instanceof Interceptor) { $node->addInterceptor($attribute->interceptor); }