@@ -8,21 +8,21 @@ |
||
8 | 8 | |
9 | 9 | class BaseApplication extends Application |
10 | 10 | { |
11 | - public function publicRoutes(string $uri, string $controller, Closure $routes = null, array $options = []) |
|
11 | + public function publicRoutes(string $uri, string $controller, Closure $routes = NULL, array $options = []) |
|
12 | 12 | { |
13 | 13 | $options['only'] = $options['only'] ?? ['index', 'show', 'destroyed']; |
14 | 14 | |
15 | 15 | return $this->resourceRoutes($uri, $controller, $routes, $options); |
16 | 16 | } |
17 | 17 | |
18 | - public function routesWithPermission(string $uri, string $controller, Closure $routes = null, array $options = []) |
|
18 | + public function routesWithPermission(string $uri, string $controller, Closure $routes = NULL, array $options = []) |
|
19 | 19 | { |
20 | 20 | $options['only'] = $options['only'] ?? ['store', 'update', 'destroyed', 'restoreDestroyed']; |
21 | 21 | |
22 | 22 | return $this->resourceRoutes($uri, $controller, $routes, $options); |
23 | 23 | } |
24 | 24 | |
25 | - public function resourceRoutes(string $uri, string $controller, Closure $routes = null, array $options = []) |
|
25 | + public function resourceRoutes(string $uri, string $controller, Closure $routes = NULL, array $options = []) |
|
26 | 26 | { |
27 | 27 | $options['name'] = $options['name'] ?? $uri; |
28 | 28 | $options['only'] = $options['only'] ?? []; |