Skip to content

Commit

Permalink
Merge pull request #29 from pratiksh404/analysis-BMmZWr
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
pratiksh404 authored Feb 25, 2022
2 parents ad0a120 + 9fcb121 commit e9ed598
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Models/Admin/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Admin/Preference.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down
3 changes: 1 addition & 2 deletions src/Models/Admin/Role.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -51,7 +51,6 @@ private static function cacheKey()
// Logs
protected static $logName = 'role';


public function getActivitylogOptions(): LogOptions
{
return LogOptions::defaults();
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Admin/Setting.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit e9ed598

Please sign in to comment.