phpstan-src icon indicating copy to clipboard operation
phpstan-src copied to clipboard

Fix return type of mysqli_result::fetch_array + fetch_assoc

Open paranoiq opened this issue 1 year ago • 3 comments
trafficstars

https://www.php.net/manual/en/mysqli-result.fetch-array.php https://www.php.net/manual/en/mysqli-result.fetch-assoc.php

paranoiq avatar Mar 07 '24 15:03 paranoiq

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.

phpstan-bot avatar Mar 07 '24 15:03 phpstan-bot

Just met this, should be easy to merge imo :)

janedbal avatar Apr 22 '24 09:04 janedbal

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

ondrejmirtes avatar Apr 22 '24 10:04 ondrejmirtes