Passed
Push — feature/fix ( 32146e )
by Fu
06:47
created
helpers.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
         ];
417 417
         for ($i = 0; $i < $length; $i++) {
418 418
             $param = Arr::random($map);
419
-            $str   .= chr(call_user_func_array('rand', $param));
419
+            $str .= chr(call_user_func_array('rand', $param));
420 420
         }
421 421
 
422 422
         return $str;
@@ -513,12 +513,12 @@  discard block
 block discarded – undo
513 513
     function get_routes($module = null): Collection
514 514
     {
515 515
         /** @var \Illuminate\Support\Collection $routes */
516
-        $routes = collect(Route::getRoutes()->getRoutesByName())->groupBy(function ($item, $key) {
516
+        $routes = collect(Route::getRoutes()->getRoutesByName())->groupBy(function($item, $key) {
517 517
             $keys = explode('.', $key);
518 518
 
519 519
             return $keys[0];
520
-        }, true)->map(function (Collection $item) {
521
-            return $item->mapWithKeys(function ($item, $key) {
520
+        }, true)->map(function(Collection $item) {
521
+            return $item->mapWithKeys(function($item, $key) {
522 522
                 $keys  = explode('.', $key);
523 523
                 $route = collect($item->action)
524 524
                     ->put('method', $item->methods[0])
Please login to merge, or discard this patch.