@@ -21,7 +21,7 @@ |
||
| 21 | 21 | { |
| 22 | 22 | $this->extension = new ElasticaExtension(); |
| 23 | 23 | $this->container = new ContainerBuilder(); |
| 24 | - } |
|
| 24 | + } |
|
| 25 | 25 | |
| 26 | 26 | public function testCreateClients() |
| 27 | 27 | { |
@@ -27,10 +27,10 @@ |
||
| 27 | 27 | ->defaultValue([]) |
| 28 | 28 | ->prototype('array') |
| 29 | 29 | ->beforeNormalization() |
| 30 | - ->ifTrue(function ($values) { |
|
| 30 | + ->ifTrue(function($values) { |
|
| 31 | 31 | return is_array($values) && !array_key_exists('connections', $values); |
| 32 | 32 | }) |
| 33 | - ->then(function ($values) { |
|
| 33 | + ->then(function($values) { |
|
| 34 | 34 | return ['connections' => [$values]]; |
| 35 | 35 | }) |
| 36 | 36 | ->end() |