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
shouldn't phpstan error because we pass a array<string, mixed> into ArrayIterator and therefore this doesn't match the @phpstan-implements IteratorAggregate<string, int> contract?
Bug report
shouldn't phpstan error because we pass a
array<string, mixed>
intoArrayIterator
and therefore this doesn't match the@phpstan-implements IteratorAggregate<string, int>
contract?Code snippet that reproduces the problem
https://phpstan.org/r/d682c953-501a-4416-9211-893c6765f2bb
Expected output
a type mismatch error? I am not 100% sure, maybe its done intentionally like that?
The text was updated successfully, but these errors were encountered: