File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,8 @@ public function getConfigTreeBuilder()
3535 ->scalarNode ('serializer ' )->cannotBeEmpty ()->end ()
3636 ->arrayNode ('routes_to_expose ' )
3737 ->beforeNormalization ()
38- ->ifTrue (function ($ v ) { return !is_array ($ v ); })
39- ->then (function ($ v ) { return array ($ v ); })
38+ ->ifTrue (function ($ v ) { return !is_array ($ v ); })
39+ ->then (function ($ v ) { return array ($ v ); })
4040 ->end ()
4141 ->prototype ('scalar ' )->end ()
4242 ->end ()
@@ -49,8 +49,8 @@ public function getConfigTreeBuilder()
4949 ->scalarNode ('smaxage ' )->defaultNull ()->end ()
5050 ->arrayNode ('vary ' )
5151 ->beforeNormalization ()
52- ->ifTrue (function ($ v ) { return !is_array ($ v ); })
53- ->then (function ($ v ) { return array ($ v ); })
52+ ->ifTrue (function ($ v ) { return !is_array ($ v ); })
53+ ->then (function ($ v ) { return array ($ v ); })
5454 ->end ()
5555 ->prototype ('scalar ' )->end ()
5656 ->end ()
You can’t perform that action at this time.
0 commit comments