@@ -10,11 +10,11 @@ |
||
10 | 10 | { |
11 | 11 | public function authorizeMatchedRoutes() |
12 | 12 | { |
13 | - Route::matched(function (RouteMatched $eventObj) { |
|
13 | + Route::matched(function(RouteMatched $eventObj) { |
|
14 | 14 | $matchedRoute = [ |
15 | 15 | $eventObj->route->getName(), |
16 | 16 | $eventObj->route->getActionName(), |
17 | - $eventObj->request->method().$eventObj->route->uri, |
|
17 | + $eventObj->request->method() . $eventObj->route->uri, |
|
18 | 18 | ]; |
19 | 19 | |
20 | 20 | $closures = app(RouterEventManager::class)->findMatchingCallbacks($matchedRoute); |
@@ -56,8 +56,8 @@ |
||
56 | 56 | */ |
57 | 57 | private function wrapCallbacksForIgnore($callbacks): array |
58 | 58 | { |
59 | - return array_map(function ($callback) { |
|
60 | - return function () use ($callback) { |
|
59 | + return array_map(function($callback) { |
|
60 | + return function() use ($callback) { |
|
61 | 61 | if (!config('heyman_ignore_route', false)) { |
62 | 62 | $callback(); |
63 | 63 | } |