Bug report
Using PHPStan 2.1.5 with PHP 8.3.16 and calling stream_socket_client, $error_code and $error_message’s type will be ignored.
This is weird since they’ve been added by phpstan/phpstan-src#2519.
Code snippet that reproduces the problem
https://phpstan.org/r/2e674df1-652e-41a4-96a3-f8c10d259ceb
Expected output
No errors!