Skip to content

Commit cf02add

Browse files
author
Nico Hiort af Ornäs
committed
Add bool return type to CustomCredentials callable parameter
1 parent fb00156 commit cf02add

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CustomCredentials.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class CustomCredentials implements CredentialsInterface
2727
private bool $resolved = false;
2828

2929
/**
30-
* @param callable(mixed, UserInterface) $customCredentialsChecker If the callable does not return `true`, a
31-
* BadCredentialsException is thrown. You may
32-
* also throw a more specific exception.
30+
* @param callable(mixed, UserInterface): bool $customCredentialsChecker If the callable does not return `true`, a
31+
* BadCredentialsException is thrown. You may
32+
* also throw a more specific exception.
3333
*/
3434
public function __construct(
3535
callable $customCredentialsChecker,

0 commit comments

Comments
 (0)