@@ -416,7 +416,7 @@ discard block |
||
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 |
||
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]) |