First part of a large code cleanup commit.

This commit is contained in:
James Cole
2019-02-12 21:49:28 +01:00
parent b273af341c
commit e0d87aa11e
70 changed files with 336 additions and 354 deletions

View File

@@ -32,12 +32,6 @@ use Illuminate\Support\Collection;
interface UserRepositoryInterface
{
/**
* @param User $user
*
* @return string|null
*/
public function getRoleByUser(User $user): ?string;
/**
* Returns a collection of all users.
*
@@ -136,6 +130,13 @@ interface UserRepositoryInterface
*/
public function getRole(string $role): ?Role;
/**
* @param User $user
*
* @return string|null
*/
public function getRoleByUser(User $user): ?string;
/**
* Return basic user information.
*