Skip to content

Commit ca76063

Browse files
committed
[TMP] Temporarily reverted Pagerfanta-related changes
1 parent a062326 commit ca76063

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/lib/Handler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ public function findSingle(Query\CriterionInterface $filter, array $languageFilt
176176
throw new InvalidArgumentException('totalCount', 'findSingle() found more then one Content item for the given $filter');
177177
}
178178

179+
/** @phpstan-ignore-next-line */
179180
return reset($result->searchHits)->valueObject;
180181
}
181182

src/lib/ResultExtractor.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,6 @@ protected function extractFacets(stdClass $data, array $facetBuilders, array $la
184184
return $facets;
185185
}
186186

187-
/**
188-
* @phpstan-return \Ibexa\Contracts\Core\Repository\Values\Content\Search\SearchHit<\Ibexa\Contracts\Core\Repository\Values\ValueObject>
189-
*/
190187
protected function extractSearchHit(stdClass $doc, array $languageFilter): SearchHit
191188
{
192189
return new SearchHit(

0 commit comments

Comments
 (0)