From 340235e2f8e0206d071c3cad4e2b39e62af142d2 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Mon, 20 Nov 2023 13:40:21 -0500 Subject: [PATCH] - Base can now be null --- src/Route/Attribute/Method/Route.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,