Skip to content

Commit

Permalink
Fix phpstan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubka committed Nov 9, 2024
1 parent 2b35a95 commit 5ddd21f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Middleware/ForceLogout.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ parameters:
analyse:
- app/Protobuf/*
ignoreErrors:
checkMissingIterableValueType: false
-
identifier: missingType.iterableValue

0 comments on commit 5ddd21f

Please sign in to comment.