diff --git a/src/Configuration/Annotation/Route.php b/src/Configuration/Annotation/Route.php index 65d6313..c9b875b 100644 --- a/src/Configuration/Annotation/Route.php +++ b/src/Configuration/Annotation/Route.php @@ -42,7 +42,7 @@ class Route * @param array|string $parameters * @param bool|string $absolute */ - public function __construct($values = [], ?string $name = null, $parameters = null, $absolute = false, ?string $generator = null) + public function __construct($values = [], ?string $name = null, $parameters = [], $absolute = false, ?string $generator = null) { $this->loadAnnotationParameters(get_defined_vars()); }