From ddbe166fec6ed6ae95067b1050aadbe353c3b2a4 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Thu, 24 Oct 2024 11:41:33 -0300 Subject: [PATCH] fix: resolve analysis errors --- phpstan.neon.dist | 1 - src/Models/Invitation.php | 5 ----- stubs/phpstan.neon.dist | 1 - 3 files changed, 7 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index c575bf67..c362c56f 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -9,7 +9,6 @@ parameters: level: 5 # The level 9 is the highest level ignoreErrors: [] excludePaths: [] - checkMissingIterableValueType: false scanFiles: - vendor/chinleung/laravel-locales/src/helpers.php scanDirectories: diff --git a/src/Models/Invitation.php b/src/Models/Invitation.php index e3696e6c..5e9ab269 100644 --- a/src/Models/Invitation.php +++ b/src/Models/Invitation.php @@ -20,11 +20,6 @@ class Invitation extends Model { use HasFactory; - /** - * The attributes that are mass assignable. - * - * @var array - */ protected $fillable = [ 'email', 'role', diff --git a/stubs/phpstan.neon.dist b/stubs/phpstan.neon.dist index e229f826..58885b37 100644 --- a/stubs/phpstan.neon.dist +++ b/stubs/phpstan.neon.dist @@ -20,4 +20,3 @@ parameters: - vendor/chinleung/laravel-locales/src/helpers.php ignoreErrors: [] - checkMissingIterableValueType: false