@@ -110,8 +110,8 @@ |
||
110 | 110 | ->scalarNode('timeout')->defaultNull()->end() |
111 | 111 | ->scalarNode('database')->defaultNull()->end() |
112 | 112 | ->arrayNode('options') |
113 | - ->useAttributeAsKey('name') |
|
114 | - ->prototype('scalar')->end() |
|
113 | + ->useAttributeAsKey('name') |
|
114 | + ->prototype('scalar')->end() |
|
115 | 115 | ->end() |
116 | 116 | ->end() |
117 | 117 | ; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | $supportedStores = ['dbal', 'predis', 'redis', 'json']; |
33 | 33 | |
34 | - $normalization = function ($conf) use ($self) { |
|
34 | + $normalization = function($conf) use ($self) { |
|
35 | 35 | |
36 | 36 | $conf['type'] = $self->resolveNodeType($conf); |
37 | 37 | |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | ->children() |
43 | 43 | ->arrayNode('store') |
44 | 44 | ->beforeNormalization() |
45 | - ->ifTrue(function ($v) { |
|
45 | + ->ifTrue(function($v) { |
|
46 | 46 | return !isset($v['type']); |
47 | 47 | }) |
48 | 48 | ->then($normalization) |