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
@@ -36,7 +36,7 @@ class ManufacturersController extends Controller
public function index()
{
$this->authorize('index', Manufacturer::class);
return view('manufacturers/index', compact('manufacturers'));
return view('manufacturers/index');
}