Skip to content

Conversation

@pimolo
Copy link
Contributor

@pimolo pimolo commented Feb 23, 2018

We already check that it's an array in the configuration definition.
This wraps the option array in another array, so the argument passed in the storage is "double wrapped" and cannot be properly used.

https://github.com/php-translation/symfony-storage/blob/e4446fe5243f5380df865d763564b28498b209ef/src/FileStorage.php#L60-L79

We already check that it's an array in the configuration definition.
This wrapping is useless and prevent proper options retrieving.
@Nyholm Nyholm self-requested a review February 23, 2018 09:11
@pimolo
Copy link
Contributor Author

pimolo commented Feb 23, 2018

The build fail looks unrelated.

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

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

You are very much correct. Thank you

@Nyholm Nyholm merged commit ef84ff7 into php-translation:master Apr 10, 2018
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