Skip to content
New issue

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

Correct the signature of mysqli_get_client_version() #545

Merged
merged 1 commit into from
Jun 4, 2021

Conversation

johnbillion
Copy link
Contributor

The signature of mysqli_get_client_version() incorrectly includes a $link parameter which does not exist. The cause of this error is likely due to the documentation on php.net historically being incorrect.

As of PHP 8 the documentation on php.net is correct and the PHPStan stub for PHP 8 correctly shows no parameter.

@ondrejmirtes ondrejmirtes merged commit 42c72f3 into phpstan:master Jun 4, 2021
@ondrejmirtes
Copy link
Member

Thank you for the research!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants