diff options
author | Sam Light <samlight1994@gmail.com> | 2025-04-26 13:05:25 +0100 |
---|---|---|
committer | Sam Light <samlight1994@gmail.com> | 2025-04-26 13:05:25 +0100 |
commit | 6d26688fded015141a45a88b90b2d70a0ac88420 (patch) | |
tree | 33324531f6e9595c7eb190b89bcdb5a7b55d1b5f /src/Toolbar/SelectFilter.php | |
parent | 88f71aeba1a1649661d713297d3a75454636b2d1 (diff) |
Larastanning
Diffstat (limited to 'src/Toolbar/SelectFilter.php')
-rw-r--r-- | src/Toolbar/SelectFilter.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Toolbar/SelectFilter.php b/src/Toolbar/SelectFilter.php index aa1c21a..7adc47a 100644 --- a/src/Toolbar/SelectFilter.php +++ b/src/Toolbar/SelectFilter.php @@ -10,6 +10,9 @@ class SelectFilter extends Filter { use WithAttributes; + /** + * @var iterable<string, string> + */ protected iterable $options; protected ?string $placeholder = null; @@ -19,6 +22,9 @@ class SelectFilter extends Filter return $this; } + /** + * @param iterable<string, string> $options + */ public function options(iterable $options): static { $this->options = $options; |