Skip to content

Commit 446a162

Browse files
Turn @method annotations into real method declarations
1 parent 7921c90 commit 446a162

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Authentication/Token/TokenInterface.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* TokenInterface is the interface for the user authentication information.
1818
*
19-
* @method string getUserIdentifier() returns the user identifier used during authentication (e.g. a user's email address or username)
20-
*
2119
* @author Fabien Potencier <fabien@symfony.com>
2220
* @author Johannes M. Schmitt <schmittjoh@gmail.com>
2321
*/
@@ -30,6 +28,11 @@ interface TokenInterface
3028
*/
3129
public function __toString(): string;
3230

31+
/**
32+
* Returns the user identifier used during authentication (e.g. a user's email address or username).
33+
*/
34+
public function getUserIdentifier(): string;
35+
3336
/**
3437
* Returns the user roles.
3538
*

User/UserProviderInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@
2727
* configuration, web service). This is totally independent of how the authentication
2828
* information is submitted or what the UserInterface object looks like.
2929
*
30-
* @see UserInterface
31-
*
32-
* @method UserInterface loadUserByIdentifier(string $identifier)
33-
*
3430
* @author Fabien Potencier <fabien@symfony.com>
3531
*/
3632
interface UserProviderInterface

0 commit comments

Comments
 (0)