Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Loader / Configurator / Traits / FactoryTrait.php
index 12e8859ca1bb98dea4467e1b4ae331104161d2f3..0d50fb747f77e643b1bafc986851234c03246442 100644 (file)
@@ -24,7 +24,7 @@ trait FactoryTrait
      */
     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]));