Fix phpstan issues

This commit is contained in:
Bubka 2024-11-09 14:13:24 +01:00
parent 2b35a9543a
commit 5ddd21fb4d
2 changed files with 3 additions and 2 deletions

View File

@ -17,7 +17,7 @@ class ForceLogout
public function handle($request, Closure $next, ...$guards) public function handle($request, Closure $next, ...$guards)
{ {
if (Auth::user() != null) { if (Auth::user() != null) {
Auth::guard('web-guard')->logoutCurrentDevice(); Auth::logoutCurrentDevice();
} }
return $next($request); return $next($request);

View File

@ -11,4 +11,5 @@ parameters:
analyse: analyse:
- app/Protobuf/* - app/Protobuf/*
ignoreErrors: ignoreErrors:
checkMissingIterableValueType: false -
identifier: missingType.iterableValue