Skip to content

Conversation

@alexandre-daubois
Copy link
Member

Q A
Branch? 7.3
Bug fix? no
New feature? yes
Deprecations? no
Issues -
License MIT

After #59628 (comment) (cc @GromNaN), supersedes #59628 is merged.

…Enabled()` and `ArrayNodeDefinition::canBeDisabled()`
@nicolas-grekas
Copy link
Member

Thank you @alexandre-daubois.

@nicolas-grekas nicolas-grekas merged commit 0deaa1e into symfony:7.3 Jan 28, 2025
10 of 11 checks passed
@alexandre-daubois alexandre-daubois deleted the canbeenabled-info branch January 28, 2025 16:12
public function canBeEnabled(/* ?string $info = null */): static
{
$this
$node = $this
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would name it enabledNode to make the code more readable for next contributors about which node is stored in that variable.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with you, I'll take care of it. Thanks for pointing it out!

GromNaN added a commit that referenced this pull request Jan 29, 2025
This PR was merged into the 7.3 branch.

Discussion
----------

[Config] Clarify var name

| Q             | A
| ------------- | ---
| Branch?       | 7.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Issues        | -
| License       | MIT

After #59630 (comment)

Commits
-------

0e4d875 [Config] Clarify var name
@fabpot fabpot mentioned this pull request May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants