Skip to content

Commit 35d498f

Browse files
committed
minor #15185 [Security] Adding typehint (ThomasLandauer)
This PR was submitted for the 4.4 branch but it was merged into the 5.2 branch instead. Discussion ---------- [Security] Adding typehint ...from https://symfony.com/doc/current/security/guard_authentication.html#the-guard-authenticator-methods Commits ------- d0d10f6 Adding typehint
2 parents a13340f + d0d10f6 commit 35d498f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/guard_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ This requires you to implement several methods::
187187
return true;
188188
}
189189

190-
public function onAuthenticationSuccess(Request $request, TokenInterface $token, $providerKey)
190+
public function onAuthenticationSuccess(Request $request, TokenInterface $token, string $providerKey)
191191
{
192192
// on success, let the request continue
193193
return null;

0 commit comments

Comments
 (0)