From 4400949bf79f9ac460ece146f149dfc51b056486 Mon Sep 17 00:00:00 2001 From: zingimmick Date: Mon, 4 Mar 2024 13:13:13 +0800 Subject: [PATCH] Remove PHPDoc of property Illuminate\Database\Eloquent\Model::$fillable --- tests/Fixtures/SearchableModel.php | 6 +----- tests/Fixtures/SearchableModelHasUuids.php | 4 +--- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/Fixtures/SearchableModel.php b/tests/Fixtures/SearchableModel.php index 51b3b15..ff29e12 100644 --- a/tests/Fixtures/SearchableModel.php +++ b/tests/Fixtures/SearchableModel.php @@ -11,11 +11,7 @@ class SearchableModel extends Model { use Searchable; - /** - * The attributes that are mass assignable. - * - * @var array - */ + protected $fillable = ['id']; public function searchableAs(): string diff --git a/tests/Fixtures/SearchableModelHasUuids.php b/tests/Fixtures/SearchableModelHasUuids.php index 037bf51..f51dcb6 100644 --- a/tests/Fixtures/SearchableModelHasUuids.php +++ b/tests/Fixtures/SearchableModelHasUuids.php @@ -34,8 +34,6 @@ public function toSearchableArray(): array ]; } - /** - * @var string[] - */ + protected $fillable = ['name', 'is_visible']; }