Array internal pointer reset is unnecessary
Reports the reset($array)
calls on arrays whose internal pointer is already set on the first element. Such calls are redundant and can be safely removed.
See reset (php.net) for details.
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023