@@ -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