Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / routing / Loader / Configurator / RoutingConfigurator.php
index d992cef843975c4d37d281543ac6441cf86998fa..7614caea3dc40e105c60d38a86f88f73818a185e 100644 (file)
@@ -38,9 +38,9 @@ class RoutingConfigurator
      */
     final public function import($resource, $type = null, $ignoreErrors = false)
     {
-        $this->loader->setCurrentDir(dirname($this->path));
+        $this->loader->setCurrentDir(\dirname($this->path));
         $imported = $this->loader->import($resource, $type, $ignoreErrors, $this->file);
-        if (!is_array($imported)) {
+        if (!\is_array($imported)) {
             return new ImportConfigurator($this->collection, $imported);
         }