@@ -43,7 +43,7 @@ |
||
43 | 43 | $method = ltrim($method, 'about'); |
44 | 44 | |
45 | 45 | if (in_array($method, ['Route', 'Action', 'Url'])) { |
46 | - $args = resolve(RouteNormalizer::class)->{'normalize'.$method}($args); |
|
46 | + $args = resolve(RouteNormalizer::class)->{'normalize' . $method}($args); |
|
47 | 47 | |
48 | 48 | return resolve('heyman.chains')->forgetAbout(RouteEventListener::class, $args); |
49 | 49 | } |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | */ |
16 | 16 | public function startWatching($chainData) |
17 | 17 | { |
18 | - Route::matched(function (RouteMatched $eventObj) use ($chainData) { |
|
18 | + Route::matched(function(RouteMatched $eventObj) use ($chainData) { |
|
19 | 19 | $matchedRoute = $this->getMatchedRouteInto($eventObj); |
20 | 20 | $matchedCallbacks = []; |
21 | 21 | foreach ($matchedRoute as $info) { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | $matchedRoute = [ |
50 | 50 | $eventObj->route->getName(), |
51 | 51 | $eventObj->route->getActionName(), |
52 | - $eventObj->request->method().$eventObj->route->uri, |
|
52 | + $eventObj->request->method() . $eventObj->route->uri, |
|
53 | 53 | ]; |
54 | 54 | |
55 | 55 | return array_filter($matchedRoute); |