Passed
Push — feature/fix ( 32146e...c44112 )
by Fu
03:53
created
helpers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -579,12 +579,12 @@
 block discarded – undo
579 579
     function get_routes($module = null): Collection
580 580
     {
581 581
         /** @var \Illuminate\Support\Collection $routes */
582
-        $routes = collect(Route::getRoutes()->getRoutesByName())->groupBy(function ($item, $key) {
582
+        $routes = collect(Route::getRoutes()->getRoutesByName())->groupBy(function($item, $key) {
583 583
             $keys = explode('.', $key);
584 584
 
585 585
             return $keys[0];
586
-        }, true)->map(function (Collection $item) {
587
-            return $item->mapWithKeys(function ($item, $key) {
586
+        }, true)->map(function(Collection $item) {
587
+            return $item->mapWithKeys(function($item, $key) {
588 588
                 $keys = explode('.', $key);
589 589
                 $route = collect($item->action)
590 590
                     ->put('method', $item->methods[0])
Please login to merge, or discard this patch.