@@ -45,7 +45,7 @@ public function deleteUser(UserInterface $user);
45
45
*
46
46
* @param array $criteria
47
47
*
48
- * @return UserInterface
48
+ * @return UserInterface|null
49
49
*/
50
50
public function findUserBy (array $ criteria );
51
51
@@ -54,7 +54,7 @@ public function findUserBy(array $criteria);
54
54
*
55
55
* @param string $username
56
56
*
57
- * @return UserInterface or null if user does not exist
57
+ * @return UserInterface| null
58
58
*/
59
59
public function findUserByUsername ($ username );
60
60
@@ -63,7 +63,7 @@ public function findUserByUsername($username);
63
63
*
64
64
* @param string $email
65
65
*
66
- * @return UserInterface or null if user does not exist
66
+ * @return UserInterface| null
67
67
*/
68
68
public function findUserByEmail ($ email );
69
69
@@ -72,7 +72,7 @@ public function findUserByEmail($email);
72
72
*
73
73
* @param string $usernameOrEmail
74
74
*
75
- * @return UserInterface or null if user does not exist
75
+ * @return UserInterface| null
76
76
*/
77
77
public function findUserByUsernameOrEmail ($ usernameOrEmail );
78
78
@@ -81,7 +81,7 @@ public function findUserByUsernameOrEmail($usernameOrEmail);
81
81
*
82
82
* @param string $token
83
83
*
84
- * @return UserInterface or null if user does not exist
84
+ * @return UserInterface| null
85
85
*/
86
86
public function findUserByConfirmationToken ($ token );
87
87
0 commit comments