diff --git a/app/Http/Middleware/ForceLogout.php b/app/Http/Middleware/ForceLogout.php index fea4399e..dd6894ad 100644 --- a/app/Http/Middleware/ForceLogout.php +++ b/app/Http/Middleware/ForceLogout.php @@ -17,7 +17,7 @@ class ForceLogout public function handle($request, Closure $next, ...$guards) { if (Auth::user() != null) { - Auth::guard('web-guard')->logoutCurrentDevice(); + Auth::logoutCurrentDevice(); } return $next($request); diff --git a/phpstan.neon b/phpstan.neon index 7717c365..63188fe8 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -11,4 +11,5 @@ parameters: analyse: - app/Protobuf/* ignoreErrors: - checkMissingIterableValueType: false \ No newline at end of file + - + identifier: missingType.iterableValue \ No newline at end of file