From 9fcb12110070eff56c550c2493b768731ba77db0 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Fri, 25 Feb 2022 09:14:24 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Models/Admin/Permission.php | 2 +- src/Models/Admin/Preference.php | 2 +- src/Models/Admin/Role.php | 3 +-- src/Models/Admin/Setting.php | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Models/Admin/Permission.php b/src/Models/Admin/Permission.php index 8059195..6a347bb 100644 --- a/src/Models/Admin/Permission.php +++ b/src/Models/Admin/Permission.php @@ -4,8 +4,8 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Cache; -use Spatie\Activitylog\Traits\LogsActivity; use Spatie\Activitylog\LogOptions; +use Spatie\Activitylog\Traits\LogsActivity; class Permission extends Model { diff --git a/src/Models/Admin/Preference.php b/src/Models/Admin/Preference.php index 4e74981..dcf9d03 100644 --- a/src/Models/Admin/Preference.php +++ b/src/Models/Admin/Preference.php @@ -5,8 +5,8 @@ use App\Models\User; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Cache; -use Spatie\Activitylog\Traits\LogsActivity; use Spatie\Activitylog\LogOptions; +use Spatie\Activitylog\Traits\LogsActivity; class Preference extends Model { diff --git a/src/Models/Admin/Role.php b/src/Models/Admin/Role.php index 541c556..e67cc60 100644 --- a/src/Models/Admin/Role.php +++ b/src/Models/Admin/Role.php @@ -6,8 +6,8 @@ use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Cache; -use Spatie\Activitylog\Traits\LogsActivity; use Spatie\Activitylog\LogOptions; +use Spatie\Activitylog\Traits\LogsActivity; class Role extends Model { @@ -51,7 +51,6 @@ private static function cacheKey() // Logs protected static $logName = 'role'; - public function getActivitylogOptions(): LogOptions { return LogOptions::defaults(); diff --git a/src/Models/Admin/Setting.php b/src/Models/Admin/Setting.php index 4e80dc0..d069613 100644 --- a/src/Models/Admin/Setting.php +++ b/src/Models/Admin/Setting.php @@ -4,8 +4,8 @@ use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Cache; -use Spatie\Activitylog\Traits\LogsActivity; use Spatie\Activitylog\LogOptions; +use Spatie\Activitylog\Traits\LogsActivity; class Setting extends Model {