X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FCompiler%2FResolveParameterPlaceHoldersPass.php;h=9a59a73ec5e12f9d9702c0f061313ed40d00a828;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=9733e5d0943336db78da17762ca8f86386852d5a;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php index 9733e5d09..9a59a73ec 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php @@ -60,10 +60,10 @@ class ResolveParameterPlaceHoldersPass extends AbstractRecursivePass protected function processValue($value, $isRoot = false) { - if (is_string($value)) { + if (\is_string($value)) { $v = $this->bag->resolveValue($value); - return $this->resolveArrays || !$v || !is_array($v) ? $v : $value; + return $this->resolveArrays || !$v || !\is_array($v) ? $v : $value; } if ($value instanceof Definition) { $value->setBindings($this->processValue($value->getBindings())); @@ -78,7 +78,7 @@ class ResolveParameterPlaceHoldersPass extends AbstractRecursivePass $value = parent::processValue($value, $isRoot); - if ($value && is_array($value)) { + if ($value && \is_array($value)) { $value = array_combine($this->bag->resolveValue(array_keys($value)), $value); }