mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-22 00:03:09 +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)
|
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);
|
||||||
|
@ -11,4 +11,5 @@ parameters:
|
|||||||
analyse:
|
analyse:
|
||||||
- app/Protobuf/*
|
- app/Protobuf/*
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
checkMissingIterableValueType: false
|
-
|
||||||
|
identifier: missingType.iterableValue
|
Loading…
Reference in New Issue
Block a user