Skip to content

[Validator] Improve condition in if statement #10306

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

Merged
merged 1 commit into from
Sep 10, 2018

Conversation

nicoweb
Copy link
Contributor

@nicoweb nicoweb commented Sep 9, 2018

No description provided.

@javiereguiluz
Copy link
Member

The title of this pull request is "fix condition" ... but the current condition is correct, right? Maybe this is to improve it and make it a bit easier to understand? Thanks!

@nicoweb
Copy link
Contributor Author

nicoweb commented Sep 10, 2018

@javiereguiluz you right, in fact, it may be to "standardize" because I see regularly in the documentation of Symfony that you use this type of condition...

@nicoweb nicoweb changed the title [Validator] fix condition in if statement [Validator] Improve condition in if statement Sep 10, 2018
@javiereguiluz javiereguiluz added this to the 3.4 milestone Sep 10, 2018
@javiereguiluz
Copy link
Member

Thanks for explaining. I agree with this proposal. Let's merge it. Thanks!

@javiereguiluz javiereguiluz merged commit 9919dcc into symfony:3.4 Sep 10, 2018
javiereguiluz added a commit that referenced this pull request Sep 10, 2018
This PR was merged into the 3.4 branch.

Discussion
----------

[Validator] Improve condition in if statement

Commits
-------

9919dcc [Validator] fix condition in if statement
@nicoweb nicoweb deleted the patch-7 branch September 10, 2018 15:04
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.

3 participants