@@ -168,13 +168,13 @@ private function addMatchSection(NodeBuilder $rules)
168168 ->info ('Request host name. ' )
169169 ->end ()
170170 ->arrayNode ('methods ' )
171- ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
171+ ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
172172 ->useAttributeAsKey ('name ' )
173173 ->prototype ('scalar ' )->end ()
174174 ->info ('Request HTTP methods. ' )
175175 ->end ()
176176 ->arrayNode ('ips ' )
177- ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
177+ ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
178178 ->useAttributeAsKey ('name ' )
179179 ->prototype ('scalar ' )->end ()
180180 ->info ('List of client IPs. ' )
@@ -220,7 +220,7 @@ private function addHeaderSection(NodeBuilder $rules)
220220 ->info ('Specify an X-Reverse-Proxy-TTL header with a time in seconds for a caching proxy under your control. ' )
221221 ->end ()
222222 ->arrayNode ('vary ' )
223- ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
223+ ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
224224 ->prototype ('scalar ' )->end ()
225225 ->info ('Define a list of additional headers on which the response varies. ' )
226226 ->end ()
@@ -242,7 +242,7 @@ private function addProxyClientSection(ArrayNodeDefinition $rootNode)
242242 ->arrayNode ('varnish ' )
243243 ->children ()
244244 ->arrayNode ('servers ' )
245- ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
245+ ->beforeNormalization ()->ifString ()->then (function ($ v ) { return preg_split ('/\s*,\s*/ ' , $ v ); })->end ()
246246 ->useAttributeAsKey ('name ' )
247247 ->isRequired ()
248248 ->requiresAtLeastOneElement ()
0 commit comments