8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dda1fe9 + 2514cf1 commit c61f657Copy full SHA for c61f657
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
@@ -218,6 +218,7 @@ private function addHttpCacheSection(ArrayNodeDefinition $rootNode)
218
->arrayNode('http_cache')
219
->info('HTTP cache configuration')
220
->canBeEnabled()
221
+ ->fixXmlConfig('private_header')
222
->children()
223
->booleanNode('debug')->defaultValue('%kernel.debug%')->end()
224
->enumNode('trace_level')
@@ -227,8 +228,6 @@ private function addHttpCacheSection(ArrayNodeDefinition $rootNode)
227
228
->integerNode('default_ttl')->end()
229
->arrayNode('private_headers')
230
->performNoDeepMerging()
- ->requiresAtLeastOneElement()
231
- ->fixXmlConfig('private_header')
232
->scalarPrototype()->end()
233
->end()
234
->booleanNode('allow_reload')->end()
0 commit comments