mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-24 17:23:54 +01:00
Fix phpstan issues
This commit is contained in:
parent
2b35a9543a
commit
5ddd21fb4d
@ -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);
|
||||
|
@ -11,4 +11,5 @@ parameters:
|
||||
analyse:
|
||||
- app/Protobuf/*
|
||||
ignoreErrors:
|
||||
checkMissingIterableValueType: false
|
||||
-
|
||||
identifier: missingType.iterableValue
|
Loading…
Reference in New Issue
Block a user