X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FCompiler%2FResolveEnvPlaceholdersPass.php;h=9e1edd4d3156885de631a460d12f512a5ba20635;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=f42107c6f7fd297007ea9f751cdfc982d7426583;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php index f42107c6f..9e1edd4d3 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php @@ -20,7 +20,7 @@ class ResolveEnvPlaceholdersPass extends AbstractRecursivePass { protected function processValue($value, $isRoot = false) { - if (is_string($value)) { + if (\is_string($value)) { return $this->container->resolveEnvPlaceholders($value, true); } if ($value instanceof Definition) { @@ -35,7 +35,7 @@ class ResolveEnvPlaceholdersPass extends AbstractRecursivePass $value = parent::processValue($value, $isRoot); - if ($value && is_array($value) && !$isRoot) { + if ($value && \is_array($value) && !$isRoot) { $value = array_combine($this->container->resolveEnvPlaceholders(array_keys($value), true), $value); }