mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-17 09:51:40 +00:00
Code reordering and reformatting. I should really start employing style CI.
This commit is contained in:
@@ -102,13 +102,6 @@ interface UserRepositoryInterface
|
||||
*/
|
||||
public function destroy(User $user): bool;
|
||||
|
||||
/**
|
||||
* @param string $email
|
||||
*
|
||||
* @return User|null
|
||||
*/
|
||||
public function findByEmail(string $email): ?User;
|
||||
|
||||
/**
|
||||
* @param int $userId
|
||||
*
|
||||
@@ -116,6 +109,13 @@ interface UserRepositoryInterface
|
||||
*/
|
||||
public function find(int $userId): ?User;
|
||||
|
||||
/**
|
||||
* @param string $email
|
||||
*
|
||||
* @return User|null
|
||||
*/
|
||||
public function findByEmail(string $email): ?User;
|
||||
|
||||
/**
|
||||
* Returns the first user in the DB. Generally only works when there is just one.
|
||||
*
|
||||
|
Reference in New Issue
Block a user