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']; }