- Base can now be null

This commit is contained in:
Dave M. 2023-11-20 13:40:21 -05:00
parent 124bddb238
commit 340235e2f8
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class Route implements \Notes\Attribute {
public string $route, public string $route,
public string $name, public string $name,
public string|array $method = [ "GET", "POST" ], public string|array $method = [ "GET", "POST" ],
public string $base = "", public ? string $base = "",
public ? string $class = null, public ? string $class = null,
public ? string $classMethod = null, public ? string $classMethod = null,
public bool $currentRoute = false, public bool $currentRoute = false,