diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 6cedc78f98..f5c44db18a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -8652,12 +8652,6 @@ parameters: count: 1 path: src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php - - - message: '#^Method Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Search\\AggregationResultCollection\:\:toArray\(\) should return array\ but returns array\\.$#' - identifier: return.type - count: 1 - path: src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php - - message: '#^Property Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Search\\Facet\\ContentTypeFacet\:\:\$entries type has no value type specified in iterable type array\.$#' identifier: missingType.iterableValue diff --git a/src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php b/src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php index 268215ffff..d2c251e76c 100644 --- a/src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php +++ b/src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php @@ -95,7 +95,7 @@ public function isEmpty(): bool /** * Gets a native PHP array representation of the collection. * - * @return \Ibexa\Contracts\Core\Repository\Values\ContentType\FieldDefinition[] + * @return \Ibexa\Contracts\Core\Repository\Values\Content\Search\AggregationResult[] */ public function toArray(): array {