Fix codestyle (#5323)

This commit is contained in:
Igor 2020-10-20 23:02:53 +02:00 committed by GitHub
parent 51d1c16369
commit baecc2c1e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -48,8 +48,7 @@ class AccessLog extends Model
$records = static::where('user_id', $user->id)
->orderBy('created_at', 'desc')
->limit(2)
->get()
;
->get();
if (!count($records)) {
return null;