chore: Add laravel ide helper

This commit is contained in:
Attila Kerekes
2022-11-29 23:13:24 +01:00
committed by Attila Kerekes
parent bd76efc613
commit 52620bc331
512 changed files with 89443 additions and 31 deletions

View File

@@ -11,12 +11,12 @@ class RedirectIfAuthenticated
/**
* Handle an incoming request.
*
* @param Request $request
* @param Request $request
* @param Closure $next
* @param string|null $guard
* @param string|null $guard
* @return mixed
*/
public function handle($request, Closure $next, $guard = null)
public function handle(Request $request, Closure $next, string $guard = null)
{
if (Auth::guard($guard)->check()) {
return redirect()->intended();