Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe94cfb

Browse filesBrowse files
minor #60245 [Security] Add callable type to CustomCredentials (BenMorel)
This PR was merged into the 7.3 branch. Discussion ---------- [Security] Add callable type to CustomCredentials | Q | A | ------------- | --- | Branch? | 7.3 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | / | License | MIT Commits ------- 46b0b53 Add callable type to CustomCredentials
2 parents fab90e3 + 46b0b53 commit fe94cfb
Copy full SHA for fe94cfb

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Authenticator/Passport/Credentials/CustomCredentials.php
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.