mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-30 16:41:44 +08:00
Add support Laravel 6.0 & remove deprecated functions
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
@foreach($parsedRoutes as $groupName => $routes)
|
||||
#{!! $groupName !!}
|
||||
{{-- We pick the first non-empty description we see. --}}
|
||||
{!! array_first($routes, function ($route) { return $route['groupDescription'] !== ''; })['groupDescription'] ?? '' !!}
|
||||
{!! Arr::first($routes, function ($route) { return $route['groupDescription'] !== ''; })['groupDescription'] ?? '' !!}
|
||||
@foreach($routes as $parsedRoute)
|
||||
@if($writeCompareFile === true)
|
||||
{!! $parsedRoute['output'] !!}
|
||||
|
||||
Reference in New Issue
Block a user