@@ -9,9 +9,9 @@ |
||
9 | 9 | { |
10 | 10 | public function authorizeMatchedRoutes() |
11 | 11 | { |
12 | - Route::matched(function (RouteMatched $eventObj) { |
|
12 | + Route::matched(function(RouteMatched $eventObj) { |
|
13 | 13 | $route = $eventObj->route; |
14 | - if($eventObj->request->method() === 'GET') |
|
14 | + if ($eventObj->request->method() === 'GET') |
|
15 | 15 | $this->authorizeUrls($route->uri); |
16 | 16 | $this->authorizeRouteNames($route->getName()); |
17 | 17 | $this->authorizeRouteActions($route->getActionName()); |