Skip to content

Narrow the type for the mb_ereg_replace_callback() callable#1316

Merged
ondrejmirtes merged 1 commit into
phpstan:1.7.xfrom
johnbillion:mb_ereg_replace_callback
May 16, 2022
Merged

Narrow the type for the mb_ereg_replace_callback() callable#1316
ondrejmirtes merged 1 commit into
phpstan:1.7.xfrom
johnbillion:mb_ereg_replace_callback

Conversation

@johnbillion

@johnbillion johnbillion commented May 16, 2022

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

2 participants