This commit is contained in:
James Cole
2018-07-24 17:46:34 +02:00
parent 06d22e843a
commit 59c005875a
2 changed files with 10 additions and 3 deletions

View File

@@ -205,7 +205,7 @@ class UserRepository implements UserRepositoryInterface
*/
public function first(): ?User
{
return User::first();
return User::orderBy('id', 'ASC')->first();
}
/**