Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 19741a4

Browse files
minor #31589 [FrameworkBundle] improve cs (nicolas-grekas)
This PR was merged into the 4.2 branch. Discussion ---------- [FrameworkBundle] improve cs | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - I've had a hard time getting this line, this should make it easier to understand. Commits ------- 93c2412 [FrameworkBundle] improve cs
2 parents 48258fc + 93c2412 commit 19741a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1671,7 +1671,7 @@ private function registerCacheConfiguration(array $config, ContainerBuilder $con
16711671
}
16721672

16731673
if ($pool['tags']) {
1674-
if ($config['pools'][$pool['tags']]['tags'] ?? false) {
1674+
if (true !== $pool['tags'] && ($config['pools'][$pool['tags']]['tags'] ?? false)) {
16751675
$pool['tags'] = '.'.$pool['tags'].'.inner';
16761676
}
16771677
$container->register($name, TagAwareAdapter::class)

0 commit comments

Comments
 (0)