@@ -60,11 +60,11 @@ |
||
60 | 60 | $middlewared = $this->isMiddlewared($method, $path); |
61 | 61 | |
62 | 62 | if ($blocked) { |
63 | - $path = '<fg=red>' .$path . '</>'; |
|
63 | + $path = '<fg=red>' .$path . '</>'; |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | if ($middlewared) { |
67 | - $path = '<fg=magenta>' .$path . '</>'; |
|
67 | + $path = '<fg=magenta>' .$path . '</>'; |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | $paths[] = [$method, $path]; |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | } |
48 | 48 | |
49 | 49 | $routes = $this->router->getRoutes(); |
50 | - $sort = function (Route $a, Route $b) { |
|
50 | + $sort = function(Route $a, Route $b) { |
|
51 | 51 | return $a->getPath() <=> $b->getPath(); |
52 | 52 | }; |
53 | 53 | usort($routes, $sort); |
@@ -60,11 +60,11 @@ discard block |
||
60 | 60 | $middlewared = $this->isMiddlewared($method, $path); |
61 | 61 | |
62 | 62 | if ($blocked) { |
63 | - $path = '<fg=red>' .$path . '</>'; |
|
63 | + $path = '<fg=red>'.$path.'</>'; |
|
64 | 64 | } |
65 | 65 | |
66 | 66 | if ($middlewared) { |
67 | - $path = '<fg=magenta>' .$path . '</>'; |
|
67 | + $path = '<fg=magenta>'.$path.'</>'; |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | $paths[] = [$method, $path]; |