diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index caa3ff54..68302177 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -152,6 +152,7 @@ class Annotation extends Component continue; } + var_dump($tmp); $this->_classes[$reflect->getName()][$method->getName()] = $tmp; } $this->resolveProperty($reflect, $object); diff --git a/HttpServer/Route/Middleware.php b/HttpServer/Route/Middleware.php index 897235fc..baa0c900 100644 --- a/HttpServer/Route/Middleware.php +++ b/HttpServer/Route/Middleware.php @@ -73,7 +73,6 @@ class Middleware [$controller, $action] = $node->handler; $attributes = Snowflake::app()->getAttributes(); $annotation = $attributes->getByClass(get_class($controller), $action); - var_dump($annotation); if (count($annotation) < 1) { return; }