@@ -226,7 +226,9 @@ |
||
| 226 | 226 | private function isValidRoute(Route $route) |
| 227 | 227 | { |
| 228 | 228 | $action = $route->getAction()['uses']; |
| 229 | - if (is_array($action)) $action = implode('@', $action); |
|
| 229 | + if (is_array($action)) { |
|
| 230 | + $action = implode('@', $action); |
|
| 231 | + } |
|
| 230 | 232 | return ! is_callable($action) && ! is_null($action); |
| 231 | 233 | } |
| 232 | 234 | |