rector: arrrrr

This commit is contained in:
Andras Bacsai committed 2025-01-07 14:52:08 +01:00
1 parent c702ebff6d
commit 16c0cd10d8
349 files changed
+4204 -3712

No files matched your search

@@ -13,11 +13,11 @@ class RedirectIfAuthenticated
/**
* Handle an incoming request.
*
* @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next
* @param Closure(Request):Response $next
*/
public function handle(Request $request, Closure $next, string ...$guards): Response
{
$guards = empty($guards) ? [null] : $guards;
$guards = $guards === [] ? [null] : $guards;
foreach ($guards as $guard) {
if (Auth::guard($guard)->check()) {