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()
35
35
->scalarNode ('serializer ' )->cannotBeEmpty ()->end ()
36
36
->arrayNode ('routes_to_expose ' )
37
37
->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 ); })
40
40
->end ()
41
41
->prototype ('scalar ' )->end ()
42
42
->end ()
@@ -49,8 +49,8 @@ public function getConfigTreeBuilder()
49
49
->scalarNode ('smaxage ' )->defaultNull ()->end ()
50
50
->arrayNode ('vary ' )
51
51
->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 ); })
54
54
->end ()
55
55
->prototype ('scalar ' )->end ()
56
56
->end ()
You can’t perform that action at this time.
0 commit comments