Skip to content

Commit 0a29c89

Browse files
BenMorelnicolas-grekas
authored andcommitted
Add callable type to CustomCredentials
1 parent 8f9c1c8 commit 0a29c89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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 $customCredentialsChecker the check function. If this function does not return `true`, a
31-
* BadCredentialsException is thrown. You may also throw a more
32-
* specific exception in the function.
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.
3333
*/
3434
public function __construct(
3535
callable $customCredentialsChecker,

0 commit comments

Comments
 (0)