diff --git a/Annotation/Route/Route.php b/Annotation/Route/Route.php index 48bffebb..2993ef79 100644 --- a/Annotation/Route/Route.php +++ b/Annotation/Route/Route.php @@ -40,13 +40,12 @@ use Annotation\IAnnotation; /** * @param array|Closure $handler - * @param array $attributes * @return ?Node * @throws ComponentException * @throws ConfigException * @throws Exception */ - public function setHandler(array|Closure $handler, array $attributes): ?Node + public function setHandler(array|Closure $handler): ?Node { $router = Snowflake::app()->getRouter(); // TODO: Implement setHandler() method.