From baecc2c1e6d73ea25c12d626a76f6fb401474bef Mon Sep 17 00:00:00 2001 From: Igor Date: Tue, 20 Oct 2020 23:02:53 +0200 Subject: [PATCH] Fix codestyle (#5323) --- modules/backend/models/AccessLog.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/backend/models/AccessLog.php b/modules/backend/models/AccessLog.php index 2e22e0462..9ca8be6e8 100644 --- a/modules/backend/models/AccessLog.php +++ b/modules/backend/models/AccessLog.php @@ -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;