Skip to content

Conversation

@m-bymike
Copy link
Contributor

This fix also addresses issues with several boolean normalizers, that always normalized to true.

close #262

{
$resolver = $this->createOptionsResolver();
$booleanNormalizer = function ($value) {
$booleanNormalizer = function (OptionsResolver $resolver, $value) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you typehint with Symfony\Component\OptionsResolver\Options instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Didn't realize there's an interface... done (see amended commit)

@fbourigault
Copy link
Contributor

Thank you!

@fbourigault fbourigault merged commit 4aba39d into GitLabPHP:master Feb 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Merge Request created_after not valid.

2 participants