Skip to content

Commit

Permalink
Update filter.stub to use typed property declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Apr 10, 2024
1 parent ed4d6b5 commit a350440
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Filterable/Console/stubs/filter.stub
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ use Illuminate\Database\Eloquent\Builder;
class {{ class }} extends Filter
{
/**
* Attributes to filters from.
* Registered filters to operate upon.
*
* @var array
* @var array<string>
*/
protected $filters = ['filter'];
protected array $filters = ['filter'];

/**
* Filter the query by a given attribute value.
Expand Down

0 comments on commit a350440

Please sign in to comment.