Mercurial > hg > isophonics-drupal-site
diff vendor/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.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/Traits/FactoryTrait.php Tue Jul 10 15:07:59 2018 +0100 +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php Thu Feb 28 13:21:36 2019 +0000 @@ -24,7 +24,7 @@ */ final public function factory($factory) { - if (is_string($factory) && 1 === substr_count($factory, ':')) { + if (\is_string($factory) && 1 === substr_count($factory, ':')) { $factoryParts = explode(':', $factory); throw new InvalidArgumentException(sprintf('Invalid factory "%s": the `service:method` notation is not available when using PHP-based DI configuration. Use "[ref(\'%s\'), \'%s\']" instead.', $factory, $factoryParts[0], $factoryParts[1]));