Skip to content

Commit b3b7da5

Browse files
committed
minor #17171 Adding type hint (ThomasLandauer)
This PR was merged into the 5.4 branch. Discussion ---------- Adding type hint Commits ------- f72042d Adding type hint
2 parents 250f9c2 + f72042d commit b3b7da5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/custom_authenticator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ using :ref:`the user provider <security-user-providers>`::
239239
// ...
240240

241241
return new Passport(
242-
new UserBadge($email, function ($userIdentifier) {
242+
new UserBadge($email, function (string $userIdentifier) {
243243
return $this->userRepository->findOneBy(['email' => $userIdentifier]);
244244
}),
245245
$credentials

0 commit comments

Comments
 (0)