We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e11eea commit f72042dCopy full SHA for f72042d
security/custom_authenticator.rst
@@ -239,7 +239,7 @@ using :ref:`the user provider <security-user-providers>`::
239
// ...
240
241
return new Passport(
242
- new UserBadge($email, function ($userIdentifier) {
+ new UserBadge($email, function (string $userIdentifier) {
243
return $this->userRepository->findOneBy(['email' => $userIdentifier]);
244
}),
245
$credentials
0 commit comments