Skip to content

Commit

Permalink
Remove PHPDoc of property Illuminate\Database\Eloquent\Model::$fillable
Browse files Browse the repository at this point in the history
  • Loading branch information
zingimmick committed Mar 4, 2024
1 parent ee009e3 commit 4400949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 1 addition & 5 deletions tests/Fixtures/SearchableModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ class SearchableModel extends Model
{
use Searchable;

/**
* The attributes that are mass assignable.
*
* @var array<string>
*/

protected $fillable = ['id'];

public function searchableAs(): string
Expand Down
4 changes: 1 addition & 3 deletions tests/Fixtures/SearchableModelHasUuids.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ public function toSearchableArray(): array
];
}

/**
* @var string[]
*/

protected $fillable = ['name', 'is_visible'];
}

0 comments on commit 4400949

Please sign in to comment.