Some code cleaning up and refactoring.

This commit is contained in:
James Cole
2016-04-26 08:09:10 +02:00
parent 22e6ea700f
commit 1c8834fffb
8 changed files with 148 additions and 143 deletions

View File

@@ -51,6 +51,6 @@ class UserRepository implements UserRepositoryInterface
*/
public function count(): int
{
return User::count();
return $this->all()->count();
}
}