staabm / phpstan-dba

PHPStan based SQL static analysis and type inference for the database access layer
https://staabm.github.io/archive.html#phpstan-dba
MIT License
249 stars 17 forks source link

Fix "$result contains generic type mysqli_result<mixed> but class mysqli_result is not generic" #632

Closed staabm closed 9 months ago

staabm commented 9 months ago

for now we remove support for mysqli_fetch_object in phpstan-dba to make phpstan-dba work for all other usescases again. in a followup I will try to get rid of the stubs in phpstan-dba so we don't depend on changes of stubs in phpstans-src

closes https://github.com/staabm/phpstan-dba/issues/631