[FrameworkBundle] improve cs

This commit is contained in:
Nicolas Grekas 2019-05-22 20:38:35 +02:00
parent 48258fc12e
commit 93c2412652

View File

@ -1671,7 +1671,7 @@ class FrameworkExtension extends Extension
} }
if ($pool['tags']) { if ($pool['tags']) {
if ($config['pools'][$pool['tags']]['tags'] ?? false) { if (true !== $pool['tags'] && ($config['pools'][$pool['tags']]['tags'] ?? false)) {
$pool['tags'] = '.'.$pool['tags'].'.inner'; $pool['tags'] = '.'.$pool['tags'].'.inner';
} }
$container->register($name, TagAwareAdapter::class) $container->register($name, TagAwareAdapter::class)