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

Explicitly default TransformerAbstract::currentScope to null since it's not defined in the constructor #552

Merged
merged 1 commit into from
Apr 11, 2022
Merged

Conversation

Plastonick
Copy link
Contributor

This change adds an explicit default value to the $currentScope property of TransformerAbstract since it's not hydrated in the constructor.

I'd suggest this as a patch release, I can't see how this might break any existing functionality.

@Plastonick Plastonick changed the title Explicitly default currentScope to null since it's not defined in the constructor Explicitly default TransformerAbstract::currentScope to null since it's not defined in the constructor Apr 8, 2022
@matthewtrask matthewtrask merged commit 8b9d39b into thephpleague:master Apr 11, 2022
@Plastonick Plastonick deleted the default-current-scope-value branch April 11, 2022 12:51
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