Add phpdoc for transformation methods into other Collection stubs #1270
Annotations
10 errors
PHPStan:
stubs/Collections/ArrayCollection.stub#L21
PHPDoc tag @param for parameter $p contains unresolvable type.
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L21
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::filter() should be contravariant with parameter $p (Closure(mixed, int|string): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::filter()
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L21
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::filter() has invalid type Doctrine\Common\Collections\Closure.
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L32
PHPDoc tag @param for parameter $func contains unresolvable type.
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L32
Parameter #1 $func (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::map() should be contravariant with parameter $func (Closure(mixed): mixed) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::map()
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L32
Parameter $func of method Doctrine\Common\Collections\ArrayCollection::map() has invalid type Doctrine\Common\Collections\Closure.
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L32
Template type U of method Doctrine\Common\Collections\ArrayCollection::map() is not referenced in a parameter.
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L41
PHPDoc tag @param for parameter $p contains unresolvable type.
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L41
Parameter #1 $p (Doctrine\Common\Collections\Closure) of method Doctrine\Common\Collections\ArrayCollection::partition() should be contravariant with parameter $p (Closure(int|string, mixed): bool) of method Doctrine\Common\Collections\ReadableCollection<TKey of (int|string),T>::partition()
|
PHPStan:
stubs/Collections/ArrayCollection.stub#L41
Parameter $p of method Doctrine\Common\Collections\ArrayCollection::partition() has invalid type Doctrine\Common\Collections\Closure.
|
Loading