Closed simon-tma closed 1 year ago
Seems to be caused by https://github.com/phpstan/phpstan-phpunit/pull/191
maybe @villfa you can have a lookt at this? 😬
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Reproduction case:
This generates the error:
This is obviously incorrect and appears to happen whenever
$haystack
is a\Traversable
rather than an array.