X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fdependency-injection%2FLoader%2FConfigurator%2FAbstractConfigurator.php;fp=vendor%2Fsymfony%2Fdependency-injection%2FLoader%2FConfigurator%2FAbstractConfigurator.php;h=d11347aeabe53b363e4827ccec025e52c1d2cc52;hp=73ca320e3124716cbb557c7ae310b83d44552cef;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hpb=74df008bdbb3a11eeea356744f39b802369bda3c diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php index 73ca320e3..d11347aea 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php @@ -28,10 +28,10 @@ abstract class AbstractConfigurator public function __call($method, $args) { if (method_exists($this, 'set'.$method)) { - return call_user_func_array(array($this, 'set'.$method), $args); + return \call_user_func_array(array($this, 'set'.$method), $args); } - throw new \BadMethodCallException(sprintf('Call to undefined method %s::%s()', get_class($this), $method)); + throw new \BadMethodCallException(sprintf('Call to undefined method %s::%s()', \get_class($this), $method)); } /** @@ -44,7 +44,7 @@ abstract class AbstractConfigurator */ public static function processValue($value, $allowServices = false) { - if (is_array($value)) { + if (\is_array($value)) { foreach ($value as $k => $v) { $value[$k] = static::processValue($v, $allowServices); } @@ -82,6 +82,6 @@ abstract class AbstractConfigurator } } - throw new InvalidArgumentException(sprintf('Cannot use values of type "%s" in service configuration files.', is_object($value) ? get_class($value) : gettype($value))); + throw new InvalidArgumentException(sprintf('Cannot use values of type "%s" in service configuration files.', \is_object($value) ? \get_class($value) : \gettype($value))); } }