Fixed #6491 - cleaner return methods for PHP 7.3 compact()

This commit is contained in:
snipe
2018-12-12 18:23:39 -08:00
parent 4ffb8f14b8
commit ea1b792a93
8 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ class LocationsController extends Controller
$locations = Location::orderBy('created_at', 'DESC')->with('parent', 'assets', 'assignedassets')->get();
// Show the page
return view('locations/index', compact('locations'));
return view('locations/index');
}