Completed
Push — master ( aac029...31bfbf )
by Iman
03:02
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)->findMatchingCallbacks($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
@@ -56,8 +56,8 @@
 block discarded – undo
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
                 }
Please login to merge, or discard this patch.