refactor: apply auto fixes from idea

This commit is contained in:
Attila Kerekes
2022-11-14 13:21:47 +01:00
committed by Attila Jozsef Kerekes
parent d4f7ad842c
commit b390a719e9
22 changed files with 154 additions and 159 deletions

View File

@@ -2,7 +2,7 @@
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Http\RedirectResponse;
class HomeController extends Controller
{
@@ -13,15 +13,16 @@ class HomeController extends Controller
*/
public function __construct()
{
parent::__construct();
$this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
* @return RedirectResponse
*/
public function index()
public function index(): RedirectResponse
{
return redirect()->route('dash');
}