Skip to content

Commit

Permalink
[TMP] Temporarily reverted Pagerfanta-related changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Dec 12, 2024
1 parent a062326 commit ca76063
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/lib/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ public function findSingle(Query\CriterionInterface $filter, array $languageFilt
throw new InvalidArgumentException('totalCount', 'findSingle() found more then one Content item for the given $filter');
}

/** @phpstan-ignore-next-line */
return reset($result->searchHits)->valueObject;
}

Expand Down
3 changes: 0 additions & 3 deletions src/lib/ResultExtractor.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,6 @@ protected function extractFacets(stdClass $data, array $facetBuilders, array $la
return $facets;
}

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

0 comments on commit ca76063

Please sign in to comment.