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
I understand that it's a rather specific case, and that phpstan does not "see" the connection between one interface being Traversable, and implementation class being an IteratorAggregate.
Ideally, we'd see that iterator types mismatch, but I'm pretty certain it's not simple.
https://phpstan.org/r/42818384-3047-4e86-9676-07f98ff0e5e7
I understand that it's a rather specific case, and that phpstan does not "see" the connection between one interface being
Traversable
, and implementation class being anIteratorAggregate
.Ideally, we'd see that iterator types mismatch, but I'm pretty certain it's not simple.
Originally posted by @Steveb-p in #5221 (reply in thread)
The text was updated successfully, but these errors were encountered: