Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[9.x] Update Container\Util::unwrapIfClosure to match value helper #36995

Merged
merged 2 commits into from
Apr 15, 2021

Conversation

netpok
Copy link
Contributor

@netpok netpok commented Apr 15, 2021

The unwrapIfClosure method is supposed to be a carbon copy of the value helper in order to not depend on the support package. This PR updates the mentioned method to match value helper which was changed in #36506.

It also uses the new functionality in one place.

9.x is targeted because unlike global functions this counts as a breaking change.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants