Skip to content

Commit b06d000

Browse files
[DI] fix processing of regular parameter bags by MergeExtensionConfigurationPass
1 parent 081c601 commit b06d000

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ public function resolveEnvPlaceholders($value, $format = null, array &$usedEnvs
186186
$bag = $this->getParameterBag();
187187
$value = $bag->resolveValue($value);
188188

189+
if (!$bag instanceof EnvPlaceholderParameterBag) {
190+
return parent::resolveEnvPlaceholders($value, $format, $usedEnvs);
191+
}
192+
189193
foreach ($bag->getEnvPlaceholders() as $env => $placeholders) {
190194
if (false === strpos($env, ':')) {
191195
continue;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy