Fix codestyle (#5323)
This commit is contained in:
parent
51d1c16369
commit
baecc2c1e6
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue