[FrameworkBundle] fix config declaration of http_cache option

This commit is contained in:
Nicolas Grekas 2020-10-15 10:20:12 +02:00
parent ffbb9883bd
commit 2514cf1c1d

View File

@ -218,6 +218,7 @@ class Configuration implements ConfigurationInterface
->arrayNode('http_cache')
->info('HTTP cache configuration')
->canBeEnabled()
->fixXmlConfig('private_header')
->children()
->booleanNode('debug')->defaultValue('%kernel.debug%')->end()
->enumNode('trace_level')
@ -227,8 +228,6 @@ class Configuration implements ConfigurationInterface
->integerNode('default_ttl')->end()
->arrayNode('private_headers')
->performNoDeepMerging()
->requiresAtLeastOneElement()
->fixXmlConfig('private_header')
->scalarPrototype()->end()
->end()
->booleanNode('allow_reload')->end()