Exercise/FOQElasticaBundle — comment on commit 914dbca3aa50771d500e036c31ee7e794aac854f
File: DependencyInjection/FOQElasticaExtension.php line 69
By jmikola:

@gimler I believe I found a bug here. Originally, the new definition was created and `$clientConfig` was wrapped in an array because Definition's second parameter is an array of constructor arguments. When you moved to `replaceArgument()`, you left the array-wrapping in place, but that now causes the client options to be double-wrapped. This breaks any custom configurations (e.g. server other than localhost) in Elastica's `Client::setConfig()`.