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

Add config key constant for retain_visibility #1732

Merged
merged 2 commits into from
Nov 18, 2023

Conversation

jnoordsij
Copy link
Contributor

While working on #1730 I noticed some inconsistent choice in referring to various config options by string vs. by constant. This MR makes the code more consistent, by adding a constant key for the retain_visibility option and replacing various string keys by their constant counterparts.

Note that test files were excluded due to more consistently using string keys and this possibly being a pattern that should be left in place.

@frankdejonge frankdejonge merged commit 2c02112 into thephpleague:3.x Nov 18, 2023
5 checks passed
@jnoordsij jnoordsij deleted the add-config-key-constant branch November 18, 2023 14:59
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