Skip to content

Commit f2b3f51

Browse files
committed
PHPStan Fixes
1 parent 8389d03 commit f2b3f51

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/Traits/Core/Search/HandlesSearchStatus.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ public function setSearchStatus(bool $status): self
3434

3535
public function setSearchEnabled(): self
3636
{
37-
return $this->setSearchStatus(true);
37+
$this->setSearchStatus(true);
38+
39+
return $this;
3840
}
3941

4042
/**
@@ -44,6 +46,8 @@ public function setSearchDisabled(): self
4446
{
4547
$this->search = '';
4648

47-
return $this->setSearchStatus(false);
49+
$this->setSearchStatus(false);
50+
51+
return $this;
4852
}
4953
}

0 commit comments

Comments
 (0)