Pint PHP Style Fixes

This commit is contained in:
refringe 2024-06-03 02:04:49 +00:00 committed by Pint Bot
parent 541eed2cab
commit 054c458b0f
3 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ use Laravel\Scout\Searchable;
*/ */
class Mod extends Model class Mod extends Model
{ {
use HasFactory, SoftDeletes, Searchable; use HasFactory, Searchable, SoftDeletes;
protected $fillable = [ protected $fillable = [
'user_id', 'user_id',

View File

@ -18,8 +18,8 @@ class User extends Authenticatable implements MustVerifyEmail
use HasFactory; use HasFactory;
use HasProfilePhoto; use HasProfilePhoto;
use Notifiable; use Notifiable;
use TwoFactorAuthenticatable;
use Searchable; use Searchable;
use TwoFactorAuthenticatable;
protected $fillable = [ protected $fillable = [
'name', 'name',

View File

@ -138,9 +138,9 @@ return [
'key' => env('MEILISEARCH_KEY'), 'key' => env('MEILISEARCH_KEY'),
'index-settings' => [ 'index-settings' => [
Mod::class => [ Mod::class => [
'filterableAttributes'=> ['featured'], 'filterableAttributes' => ['featured'],
'sortableAttributes' => ['created_at', 'updated_at'], 'sortableAttributes' => ['created_at', 'updated_at'],
] ],
], ],
], ],