Do not assume `ItemInterface` is a collection by extending traversable `ItemListInterface` · Issue #50 · jkphl/micrometa · GitHub
More Web Proxy on the site http://driver.im/
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
The latest version of PHPStan does check for generics. In other words, for traversables it also does static code detection of their items.
The
ItemInterface
does extendItemListInterface
and thereby is a traversable. This is incorrect because it also can be a single item.What is needed / what would conflict when removing the item interface from extending the list interface?
The text was updated successfully, but these errors were encountered: