thecodingmachine / phpstan-strict-rules

A set of additional rules for PHPStan based on best practices followed at TheCodingMachine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

openssl_pkey_get_private

stanislav-janu opened this issue · comments

In PHP 8.0+ returns OpenSSLAsymmetricKey|false.

For PHPDoc is correct:

@return resource|OpenSSLAsymmetricKey