Skip to content

Commit 037747c

Browse files
lrljoegithub-actions[bot]
authored andcommitted
Fix styling
1 parent 3ed580a commit 037747c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/Views/Filters/MultiSelectDropdownFilter.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ public function getOptions(): array
2222
return $this->options;
2323
}
2424

25-
2625
public function setFirstOption(string $firstOption): MultiSelectDropdownFilter
2726
{
2827
$this->firstOption = $firstOption;
@@ -81,14 +80,12 @@ public function getFilterPillValue($value): ?string
8180

8281
public function isEmpty($value): bool
8382
{
84-
if (!is_array($value))
85-
{
83+
if (! is_array($value)) {
8684
return true;
87-
}
88-
else if (in_array("all", $value))
89-
{
85+
} elseif (in_array("all", $value)) {
9086
return true;
9187
}
88+
9289
return false;
9390
}
9491

0 commit comments

Comments
 (0)