phpstan-src
phpstan-src copied to clipboard
Fix return type of mysqli_result::fetch_array + fetch_assoc
trafficstars
https://www.php.net/manual/en/mysqli-result.fetch-array.php https://www.php.net/manual/en/mysqli-result.fetch-assoc.php
You've opened the pull request against the latest branch 1.11.x. If your code is relevant on 1.10.x and you want it to be released sooner, please rebase your pull request and change its target to 1.10.x.
Just met this, should be easy to merge imo :)
There's a conflict, can you please fix it?
Also: note that the type on PHP 8+ is already correct :) https://phpstan.org/r/7868d592-23fb-4a4b-8145-ebc89ca74bb4