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

View File

@@ -33,7 +33,7 @@ class StatuslabelsController extends Controller
public function index()
{
$this->authorize('view', Statuslabel::class);
return view('statuslabels.index', compact('statuslabels'));
return view('statuslabels.index');
}
public function show($id)