### Summary of a problem or a feature request `reset()` shouldn't return `false` when used in a condition with a check for non-empty array. ### Code snippet that reproduces the problem ```php if (count($items) > 0) { return reset($items); } ``` https://phpstan.org/r/8faccc70fac3506d5968839569bd8c7b ### Expected output No error, `reset()` can only return `false` on empty array.