Skip to content

Commit 4fe1bbc

Browse files
update
1 parent 98a6fdf commit 4fe1bbc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/Services/RouteService.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44

55
class RouteService
66
{
7-
private static $routes = [];
7+
private static array $routes = [];
88

9-
private static $params = [];
9+
private static array $params = [];
1010

11-
private static $controllerNamespace = 'App\\Controllers';
11+
private static string $controllerNamespace = 'App\\Controllers';
1212

1313
private static function add($uri, $controller, $action, $method = 'GET', $middleware = [])
1414
{

0 commit comments

Comments
 (0)