8000 Prevent the deep-merge on only on adapters, not all pools · symfony/symfony@66cea79 · GitHub
[go: up one dir, main page]

Skip to content

Commit 66cea79

Browse files
committed
Prevent the deep-merge on only on adapters, not all pools
1 parent a1f69c6 commit 66cea79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,9 +1012 7233 ,9 @@ private function addCacheSection(ArrayNodeDefinition $rootNode)
10121012
->ifTrue(function ($v) { return (isset($v['adapters']) || \is_array($v['adapter'] ?? null)) && isset($v['provider']); })
10131013
->thenInvalid('Pool cannot have a "provider" while "adapter" is set to a map')
10141014
->end()
1015-
->performNoDeepMerging()
10161015
->children()
10171016
->arrayNode('adapters')
1017+
->performNoDeepMerging()
10181018
->info('One or more adapters to chain for creating the pool, defaults to "cache.app".')
10191019
->beforeNormalization()
10201020
->always()->then(function ($values) {

0 commit comments

Comments
 (0)
0