Remove a lot of deprecated code.

This commit is contained in:
James Cole
2018-07-25 06:45:25 +02:00
parent dbf019135a
commit 7c950c3022
39 changed files with 189 additions and 621 deletions

View File

@@ -162,22 +162,6 @@ class UserRepository implements UserRepositoryInterface
return true;
}
/**
* @param int $userId
*
* @deprecated
* @return User
*/
public function find(int $userId): User
{
$user = User::find($userId);
if (null !== $user) {
return $user;
}
return new User;
}
/**
* @param string $email
*