Bugfixes 🐛
- Subclasses of PDO are analysed using static reflection (phpstan/phpstan-src@8390949), #3527
- Fix problems related to conditional declarations of classes - #3522
- Dive into a trait that starts on the same line as the one in the reflection (phpstan/phpstan-src@e6dd87b), #3460
Function signature fixes 🤖
ZipArchive::open()
returns true on success, int (error code) on failure (#253), thanks @dktapps!mysqli_stmt_fetch()
andmysqli_stmt::fetch()
can return NULL (#255), thanks @morozov!openssl_pkey_export()
allows null for the passphrase (#256), thanks @ConradSollitt!- Fix
enchant_broker_list_dicts()
return type (#257), #3530, thanks @villfa! - correct return value for PHP internal functions on failure (#258), thanks @peter-gribanov!
- Fix return type & callback type hints for Redis::subscribe() (#259), thanks @hollodotme!