mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
27461c98f6
Even though `Generator::current()` can return `null` once generator is exhausted, `foreach()` never iterates after iterator ends, so we can safely remove `null` (unless, of course, generator can yield `null`). |
||
---|---|---|
.. | ||
DoTest.php | ||
ForeachTest.php | ||
ForTest.php | ||
WhileTest.php |