From 2aca9a441ef48fb66ace8a5bfb9d8b730bc4e925 Mon Sep 17 00:00:00 2001 From: Sam Light Date: Tue, 23 Sep 2025 22:54:57 +0100 Subject: Initial pint code formatting --- src/Toolbar/SelectFilter.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/Toolbar/SelectFilter.php') diff --git a/src/Toolbar/SelectFilter.php b/src/Toolbar/SelectFilter.php index 7adc47a..d9c6118 100644 --- a/src/Toolbar/SelectFilter.php +++ b/src/Toolbar/SelectFilter.php @@ -2,9 +2,8 @@ namespace Lightscale\LaralightTables\Toolbar; -use Lightscale\LaralightTables\Concerns\WithAttributes; - use Illuminate\View\View; +use Lightscale\LaralightTables\Concerns\WithAttributes; class SelectFilter extends Filter { @@ -14,20 +13,23 @@ class SelectFilter extends Filter * @var iterable */ protected iterable $options; + protected ?string $placeholder = null; public function placeholder(?string $v): static { $this->placeholder = $v; + return $this; } /** - * @param iterable $options + * @param iterable $options */ public function options(iterable $options): static { $this->options = $options; + return $this; } @@ -42,5 +44,4 @@ class SelectFilter extends Filter 'attributes' => $this->getAttributes(), ]); } - } -- cgit v1.2.3