Skip to content

Commit 9b3be01

Browse files
authored
Merge pull request FriendsOfSymfony#2716 from Soullivaneuh/patch-1
Fix PHPDoc return types on UserManagerInterface
2 parents 69c4e00 + ecc1126 commit 9b3be01

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Model/UserManagerInterface.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function deleteUser(UserInterface $user);
4545
*
4646
* @param array $criteria
4747
*
48-
* @return UserInterface
48+
* @return UserInterface|null
4949
*/
5050
public function findUserBy(array $criteria);
5151

@@ -54,7 +54,7 @@ public function findUserBy(array $criteria);
5454
*
5555
* @param string $username
5656
*
57-
* @return UserInterface or null if user does not exist
57+
* @return UserInterface|null
5858
*/
5959
public function findUserByUsername($username);
6060

@@ -63,7 +63,7 @@ public function findUserByUsername($username);
6363
*
6464
* @param string $email
6565
*
66-
* @return UserInterface or null if user does not exist
66+
* @return UserInterface|null
6767
*/
6868
public function findUserByEmail($email);
6969

@@ -72,7 +72,7 @@ public function findUserByEmail($email);
7272
*
7373
* @param string $usernameOrEmail
7474
*
75-
* @return UserInterface or null if user does not exist
75+
* @return UserInterface|null
7676
*/
7777
public function findUserByUsernameOrEmail($usernameOrEmail);
7878

@@ -81,7 +81,7 @@ public function findUserByUsernameOrEmail($usernameOrEmail);
8181
*
8282
* @param string $token
8383
*
84-
* @return UserInterface or null if user does not exist
84+
* @return UserInterface|null
8585
*/
8686
public function findUserByConfirmationToken($token);
8787

0 commit comments

Comments
 (0)