Skip to content

Commit 35cd35a

Browse files
authored
Tweak type
1 parent a40a72d commit 35cd35a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/View/Components/FilterPill.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class FilterPill extends Component
1111

1212
public function __construct(public string $filterKey, public FilterPillData $filterPillData)
1313
{
14-
$this->shouldWatch = $this->filterPillData->shouldWatchForEvents();
14+
$this->shouldWatch = (bool) $this->filterPillData->shouldWatchForEvents();
1515
}
1616

1717
public function render(): null|string|\Illuminate\Support\HtmlString|\Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\Contracts\View\View

0 commit comments

Comments
 (0)