From 054c458b0f3e68878132957e3f69923eca4da4d6 Mon Sep 17 00:00:00 2001 From: refringe Date: Mon, 3 Jun 2024 02:04:49 +0000 Subject: [PATCH] Pint PHP Style Fixes --- app/Models/Mod.php | 2 +- app/Models/User.php | 2 +- config/scout.php | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Models/Mod.php b/app/Models/Mod.php index ab77648..a7d3cf7 100644 --- a/app/Models/Mod.php +++ b/app/Models/Mod.php @@ -17,7 +17,7 @@ use Laravel\Scout\Searchable; */ class Mod extends Model { - use HasFactory, SoftDeletes, Searchable; + use HasFactory, Searchable, SoftDeletes; protected $fillable = [ 'user_id', diff --git a/app/Models/User.php b/app/Models/User.php index 3342497..cb51c9d 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -18,8 +18,8 @@ class User extends Authenticatable implements MustVerifyEmail use HasFactory; use HasProfilePhoto; use Notifiable; - use TwoFactorAuthenticatable; use Searchable; + use TwoFactorAuthenticatable; protected $fillable = [ 'name', diff --git a/config/scout.php b/config/scout.php index c8f11ea..65e4d12 100644 --- a/config/scout.php +++ b/config/scout.php @@ -138,9 +138,9 @@ return [ 'key' => env('MEILISEARCH_KEY'), 'index-settings' => [ Mod::class => [ - 'filterableAttributes'=> ['featured'], + 'filterableAttributes' => ['featured'], 'sortableAttributes' => ['created_at', 'updated_at'], - ] + ], ], ],