Skip to content

Commit

Permalink
Update ContainerBuilder.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ro0NL committed Aug 14, 2017
1 parent df34e25 commit 6815971
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1316,7 +1316,7 @@ public function resolveEnvPlaceholders($value, $format = null, array &$usedEnvs
} else {
$resolved = sprintf($format, $env);
}
$value = is_string($value) ? str_ireplace($placeholder, $resolved, $value) : (string) $value;
$value = str_ireplace($placeholder, $resolved, $value);
$usedEnvs[$env] = $env;
$this->envCounters[$env] = isset($this->envCounters[$env]) ? 1 + $this->envCounters[$env] : 1;
}
Expand Down

0 comments on commit 6815971

Please sign in to comment.