diff --git a/src/Route/Attribute/Method/Route.php b/src/Route/Attribute/Method/Route.php index 3452b7b..e741451 100644 --- a/src/Route/Attribute/Method/Route.php +++ b/src/Route/Attribute/Method/Route.php @@ -8,7 +8,7 @@ class Route implements \Notes\Attribute { public string $route, public string $name, public string|array $method = [ "GET", "POST" ], - public string $base = "", + public ? string $base = "", public ? string $class = null, public ? string $classMethod = null, public bool $currentRoute = false,