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

Narrow the type for the mb_ereg_replace_callback() callable #1316

Merged
merged 1 commit into from May 16, 2022

Conversation

johnbillion
Copy link
Contributor

@johnbillion johnbillion commented May 16, 2022

Everything that was added in #758 for preg_replace_callback() also applies to mb_ereg_replace_callback(). The parameters and return type for its callback are identical.

@ondrejmirtes ondrejmirtes merged commit 17f826f into phpstan:1.7.x May 16, 2022
@ondrejmirtes
Copy link
Member

Thank you!

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