File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -190,14 +190,14 @@ private function addFormatListenerSection(ArrayNodeDefinition $rootNode)
190190 ->arrayNode ('rules ' )
191191 ->cannotBeOverwritten ()
192192 ->prototype ('array ' )
193+ ->fixXmlConfig ('priority ' , 'priorities ' )
193194 ->children ()
194195 ->scalarNode ('path ' )->defaultNull ()->info ('URL path info ' )->end ()
195196 ->scalarNode ('host ' )->defaultNull ()->info ('URL host name ' )->end ()
196197 ->booleanNode ('prefer_extension ' )->defaultTrue ()->end ()
197198 ->scalarNode ('fallback_format ' )->defaultValue ('html ' )->end ()
198199 ->arrayNode ('priorities ' )
199200 ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
200- ->useAttributeAsKey ('name ' )
201201 ->prototype ('scalar ' )->end ()
202202 ->end ()
203203 ->end ()
You can’t perform that action at this time.
0 commit comments