Skip to content

Commit cc8ffcf

Browse files
minor #50399 [Security] Add generic to UserProviderInterface (VincentLanglet)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Security] Add generic to UserProviderInterface | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | yes (but phpdoc only) | Deprecations? | no | Tickets | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> Similar to symfony/symfony#48750 `@nicolas`-grekas Commits ------- ba46f32d81 Add generic to UserProviderInterface
2 parents 5ce5bbd + d8e0e6c commit cc8ffcf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Security/User/EntityUserProvider.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@
3030
*
3131
* @author Fabien Potencier <[email protected]>
3232
* @author Johannes M. Schmitt <[email protected]>
33+
*
34+
* @template TUser of UserInterface
35+
*
36+
* @template-implements UserProviderInterface<TUser>
3337
*/
3438
class EntityUserProvider implements UserProviderInterface, PasswordUpgraderInterface
3539
{

0 commit comments

Comments
 (0)