File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ private function addDbalSection(ArrayNodeDefinition $node)
157157 ->children ()
158158 ->arrayNode ('settings ' )
159159 ->useAttributeAsKey ('key ' )
160- ->prototype ( ' array ' )
160+ ->arrayPrototype ( )
161161 ->useAttributeAsKey ('key ' )
162162 ->prototype ('scalar ' )->end ()
163163 ->end ()
@@ -203,7 +203,7 @@ private function getDbalConnectionsNode(DriverNormalizer $normalizer)
203203 $ node
204204 ->requiresAtLeastOneElement ()
205205 ->useAttributeAsKey ('name ' )
206- ->prototype ( ' array ' )
206+ ->arrayPrototype ( )
207207 ->children ()
208208 ->scalarNode ('driver ' )
209209 ->beforeNormalization ()
@@ -224,7 +224,7 @@ private function getDbalConnectionsNode(DriverNormalizer $normalizer)
224224 ->scalarNode ('classname ' )->defaultValue ($ this ->debug ? 'DebugPDO ' : 'PropelPDO ' )->end ()
225225 ->arrayNode ('slaves ' )
226226 ->useAttributeAsKey ('name ' )
227- ->prototype ( ' array ' )
227+ ->arrayPrototype ( )
228228 ->children ()
229229 ->scalarNode ('driver ' )
230230 ->beforeNormalization ()
You can’t perform that action at this time.
0 commit comments