Skip to content

Commit b70a2b9

Browse files
committed
PHPstan
Signed-off-by: Jan Henckens <jan@henckens.be>
1 parent d3af070 commit b70a2b9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/jobs/MakeSearchable.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ protected function defaultDescription(): string
7878
private function getElement()
7979
{
8080
if (is_array($this->getIndex()->criteria)) {
81-
/** @phpstan-ignore-next-line */
8281
$element = collect($this->getIndex()->criteria)->first(function(ElementQuery $criteria) {
8382
return $criteria->id($this->id)->siteId($this->siteId)->exists();
8483
});
@@ -95,7 +94,6 @@ private function getElement()
9594
private function getAnyElement()
9695
{
9796
if (is_array($this->getIndex()->criteria)) {
98-
/** @phpstan-ignore-next-line */
9997
$element = collect($this->getIndex()->criteria)->first(function(ElementQuery $criteria) {
10098
return $criteria->id($this->id)->siteId($this->siteId)->status(null)->exists();
10199
});

0 commit comments

Comments
 (0)