We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
get_headers can have string keys, depending on $format. Make sure that static analysis catches these mismatches first.
src/Phan/Language/Internal/FunctionSignatureMap_php71_delta.php 23: 'get_headers' => ['array|false', 'url'=>'string', 'format='=>'int', 'context='=>'resource'], 44: 'get_headers' => ['array|false', 'url'=>'string', 'format='=>'int'], src/Phan/Language/Internal/FunctionSignatureMapReal.php 304:'get_headers' => 'array<int,array>|array<int,string>|false', src/Phan/Language/Internal/FunctionSignatureMapReal_php73.php 299:'get_headers' => '?array<int,array>|?array<int,string>|?false',
Compare with:
src/Phan/Language/Internal/FunctionSignatureMap.php 3689:'get_headers' => ['array<int|string,array|string>|false', 'url'=>'string', 'format='=>'int', 'context='=>'resource'], 15694:'xdebug_get_headers' => ['array'],
See #1821
The text was updated successfully, but these errors were encountered:
0b238ff
TysonAndre
No branches or pull requests
get_headers can have string keys, depending on $format.
Make sure that static analysis catches these mismatches first.
Compare with:
See #1821
The text was updated successfully, but these errors were encountered: