Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Loader / DirectoryLoader.php
index 769f1026e8d988e247b2075ab011e848704f7756..a57cac3b5ee9977f946d0cfc97f817cd3b5ae0c5 100644 (file)
@@ -49,6 +49,6 @@ class DirectoryLoader extends FileLoader
             return true;
         }
 
-        return null === $type && is_string($resource) && '/' === substr($resource, -1);
+        return null === $type && \is_string($resource) && '/' === substr($resource, -1);
     }
 }