diff vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
line wrap: on
line diff
--- a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php	Thu Feb 28 13:21:36 2019 +0000
@@ -28,10 +28,10 @@
     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([$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 @@
      */
     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 @@
                 }
         }
 
-        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)));
     }
 }