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
te following function is emitted with the wrong Nullable attribute,
Nullable
class Test { final function multidimensional( $root, $keys ) { // <-- wrong nullability attribute if (empty($root)) return; // void return [1,2,3]; } function multidimensional_get( $root, $keys, $default = null ) { $result = $this->multidimensional( $root, $keys ); // does not expect to return null return isset( $result ) ? $result['node'] : $default; // isset() evaluated to TRUE always } } echo (new Test)->multidimensional_get(false, false, "ok");
The text was updated successfully, but these errors were encountered:
test for nullability issue
c108034
ref #887
fixed in 895b5f8
Sorry, something went wrong.
jakubmisek
No branches or pull requests
te following function is emitted with the wrong
Nullable
attribute,The text was updated successfully, but these errors were encountered: