You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When implementing a specific configuration of "nestable" iterable types, PHPStan will produce errors that claim "no value type specified in iterable type" for types that have been explicitly "un-genericised" using PHPDoc annotations.
This is a pretty strange use case that has been distilled from a more complex real-world case. The actual versions of the types represented here are:
Bug report
When implementing a specific configuration of "nestable" iterable types, PHPStan will produce errors that claim "no value type specified in iterable type" for types that have been explicitly "un-genericised" using PHPDoc annotations.
This is a pretty strange use case that has been distilled from a more complex real-world case. The actual versions of the types represented here are:
Collection
is equivalent toEventCollection
Member
is equivalent toCall
MemberImpl
is equivalent toCallData
CollectionImpl
is equivalent toEventSequence
Code snippet that reproduces the problem
From https://phpstan.org/r/2594d7d7-d75e-4916-b924-f2120ab028c2:
Expected output
PHPStan should not produce an error. Instead it produces an error like:
The text was updated successfully, but these errors were encountered: