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

Merge feature/36-clone #80

Merged
merged 3 commits into from
Dec 12, 2017
Merged

Merge feature/36-clone #80

merged 3 commits into from
Dec 12, 2017

Conversation

stevenrombauts
Copy link
Member

Closes #36

Steven Rombauts added 3 commits December 12, 2017 11:34
The InputOption::VALUE_OPTIONAL option mode will always return
null if you don't set a default value, but returning any other value
makes it impossible to correctly determine whether the flag was
set or not.

Solution is to rely on $input->hasParameterOption() instead.

See: https://github.com/symfony/symfony/issues/11572\#issuecomment-197929086
@stevenrombauts stevenrombauts added this to the 1.5 milestone Dec 12, 2017
@stevenrombauts stevenrombauts merged commit 4ae5e31 into master Dec 12, 2017
@stevenrombauts stevenrombauts deleted the feature/36-clone branch December 12, 2017 15:14
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.

1 participant