Passed
Push — master ( abb149...4beee9 )
by Iman
02:12
created
src/Forget.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.
src/WatchingStrategies/Routes/RouteEventListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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);
Please login to merge, or discard this patch.