bump req to collections 2.1 #4
Annotations
6 errors
Run psalm:
src/Trait/CollectionDecoratorTrait.php#L83
src/Trait/CollectionDecoratorTrait.php:83:16: MoreSpecificReturnType: The declared return type 'Doctrine\Common\Collections\Collection<array-key, mixed>' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::filter is more specific than the inferred return type 'Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>' (see https://psalm.dev/070)
|
Run psalm:
src/Trait/CollectionDecoratorTrait.php#L87
src/Trait/CollectionDecoratorTrait.php:87:44: MixedArgumentTypeCoercion: Argument 1 of Doctrine\Common\Collections\Collection::filter expects Closure(T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed, TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key):bool, but parent type Closure provided (see https://psalm.dev/194)
|
Run psalm:
src/Trait/CollectionDecoratorTrait.php#L93
src/Trait/CollectionDecoratorTrait.php:93:16: MoreSpecificReturnType: The declared return type 'Doctrine\Common\Collections\Collection<array-key, U:fn-rekalogika\collections\decorator\trait\collectiondecoratortrait::map as mixed>' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::map is more specific than the inferred return type 'Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, U:fn-rekalogika\collections\decorator\trait\collectiondecoratortrait::map as mixed>' (see https://psalm.dev/070)
|
Run psalm:
src/Trait/CollectionDecoratorTrait.php#L102
src/Trait/CollectionDecoratorTrait.php:102:16: MoreSpecificReturnType: The declared return type 'array{0: Doctrine\Common\Collections\Collection<array-key, mixed>, 1: Doctrine\Common\Collections\Collection<array-key, mixed>}' for Rekalogika\Collections\Decorator\Trait\CollectionDecoratorTrait::partition is more specific than the inferred return type 'array{0: Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>, 1: Doctrine\Common\Collections\ReadableCollection<TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed>}' (see https://psalm.dev/070)
|
Run psalm:
src/Trait/CollectionDecoratorTrait.php#L106
src/Trait/CollectionDecoratorTrait.php:106:47: MixedArgumentTypeCoercion: Argument 1 of Doctrine\Common\Collections\Collection::partition expects Closure(TKey:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as array-key, T:Rekalogika\Collections\Decorator\AbstractCollectionDecorator as mixed):bool, but parent type Closure provided (see https://psalm.dev/194)
|
Run psalm
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading