Skip to content

Commit 50ca28c

Browse files
committed
Fix Psalm TooManyArguments
1 parent 92dede9 commit 50ca28c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bundle/Security/Authorization/TwoFactorAccessDecider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public function isAccessible(Request $request, TokenInterface $token): bool
3737
}
3838

3939
// Let routes pass, e.g. if a route needs to be callable during two-factor authentication
40+
/** @psalm-suppress TooManyArguments */
4041
return null !== $attributes && $this->accessDecisionManager->decide($token, $attributes, $request, new AccessDecision(), true);
4142
}
4243

0 commit comments

Comments
 (0)