Completed
Push — master ( bf73f1...8091ef )
by Iman
06:12
created
src/RouteAuthorizer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,11 +10,11 @@
 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
             $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)->start($matchedRoute);
Please login to merge, or discard this patch.
src/WatchingStrategies/RouterEventManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,10 +58,10 @@
 block discarded – undo
58 58
      */
59 59
     private function wrapCallbacksForIgnore($callbacks): array
60 60
     {
61
-        return array_map(function ($callback) {
61
+        return array_map(function($callback) {
62 62
             $c = $callback[1];
63 63
 
64
-            return function () use ($c) {
64
+            return function() use ($c) {
65 65
                 if (!config('heyman_ignore_route', false)) {
66 66
                     $c();
67 67
                 }
Please login to merge, or discard this patch.