Completed
Push — master ( 153345...f1eae3 )
by Iman
09:16
created
src/RouteAuthorizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
 {
11 11
     public function authorizeMatchedRoutes()
12 12
     {
13
-        Route::matched(function (RouteMatched $eventObj) {
13
+        Route::matched(function(RouteMatched $eventObj) {
14 14
             $route = $eventObj->route;
15
-            $this->setGuardFor($eventObj->request->method().$route->uri);
15
+            $this->setGuardFor($eventObj->request->method() . $route->uri);
16 16
             $this->setGuardFor($route->getName());
17 17
             $this->setGuardFor($route->getActionName());
18 18
         });
Please login to merge, or discard this patch.
src/WatchingStrategies/RouterEventManager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
             }
58 58
         }
59 59
 
60
-        return [function () {
60
+        return [function() {
61 61
         }];
62 62
     }
63 63
 
@@ -68,9 +68,9 @@  discard block
 block discarded – undo
68 68
      */
69 69
     private function wrapCallbacksForIgnore($callbacks): array
70 70
     {
71
-        return array_map(function ($callback) {
71
+        return array_map(function($callback) {
72 72
             $c = $callback[1];
73
-            return function () use ($c) {
73
+            return function() use ($c) {
74 74
                 if (!config('heyman_ignore_route', false)) {
75 75
                     $c();
76 76
                 }
Please login to merge, or discard this patch.