Skip to content

Commit 7e061ef

Browse files
1.99.3
- мелкий фикс строгой типизации
1 parent 3fa5e65 commit 7e061ef

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/AppRouter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class AppRouter implements AppRouterInterface
3030
/**
3131
* @var array
3232
*/
33-
private static array $rules;
33+
private static array $rules = [];
3434

3535
/**
3636
* @var string
@@ -50,17 +50,17 @@ class AppRouter implements AppRouterInterface
5050
/**
5151
* @var string
5252
*/
53-
private static string $uri;
53+
private static string $uri = '';
5454

5555
/**
5656
* @var array
5757
*/
58-
public static array $route_names;
58+
public static array $route_names = [];
5959

6060
/**
6161
* @var string
6262
*/
63-
private static string $current_prefix;
63+
private static string $current_prefix = '';
6464

6565
/**
6666
* Default replace pattern
@@ -74,7 +74,7 @@ class AppRouter implements AppRouterInterface
7474
*
7575
* @var array
7676
*/
77-
private static array $routeInfo;
77+
private static array $routeInfo = [];
7878

7979
/**
8080
* @var Stack

0 commit comments

Comments
 (0)