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
250 stars 17 forks source link

remove PdoStatement stub #594

Closed staabm closed 11 months ago

staabm commented 1 year ago

refs https://github.com/staabm/phpstan-dba/issues/466

staabm commented 1 year ago

it seems one solution could be to use iterable<array{email: string, id: int}>&PDOStatement instead of PDOStatement<array{email: string, id: int}>