diff --git a/HttpServer/Route/Node.php b/HttpServer/Route/Node.php index 31b9a62d..561a8aac 100644 --- a/HttpServer/Route/Node.php +++ b/HttpServer/Route/Node.php @@ -181,8 +181,8 @@ class Node extends HttpService return null; } foreach ($aspect as $value) { - var_dump(class_implements($value)); - if ($value instanceof IAspect) { + $implements = class_implements($value); + if (isset($implements[IAspect::class])) { return $value; } }