Skip to content

Commit 2968aa2

Browse files
committed
Merge branch '4.6'
2 parents 335e714 + e1c2415 commit 2968aa2

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

phpstan-baseline.neon

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5268,12 +5268,6 @@ parameters:
52685268
count: 1
52695269
path: src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php
52705270

5271-
-
5272-
message: '#^Method Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Search\\AggregationResultCollection\:\:toArray\(\) should return array\<Ibexa\\Contracts\\Core\\Repository\\Values\\ContentType\\FieldDefinition\> but returns array\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Search\\AggregationResult\>\.$#'
5273-
identifier: return.type
5274-
count: 1
5275-
path: src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php
5276-
52775271
-
52785272
message: '#^Template type T is declared as covariant, but occurs in invariant position in property Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Search\\SearchHit\:\:\$valueObject\.$#'
52795273
identifier: generics.variance

src/contracts/Repository/Values/Content/Search/AggregationResultCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function isEmpty(): bool
9595
/**
9696
* Gets a native PHP array representation of the collection.
9797
*
98-
* @return \Ibexa\Contracts\Core\Repository\Values\ContentType\FieldDefinition[]
98+
* @return \Ibexa\Contracts\Core\Repository\Values\Content\Search\AggregationResult[]
9999
*/
100100
public function toArray(): array
101101
{

0 commit comments

Comments
 (0)