X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vendor%2Fsymfony%2Fdependency-injection%2FLoader%2FPhpFileLoader.php;h=ff8df43f8408f02c1f6d50b0a0dc246fc5e7e231;hb=4e1bfbf98b844da83b18aca92ef00f11a4735806;hp=f0be7534ea67d4f21dc2c0e856d83c982eff818c;hpb=af6d1fb995500ae68849458ee10d66abbdcfb252;p=yaffs-website diff --git a/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php b/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php index f0be7534e..ff8df43f8 100644 --- a/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php @@ -33,7 +33,7 @@ class PhpFileLoader extends FileLoader $loader = $this; $path = $this->locator->locate($resource); - $this->setCurrentDir(dirname($path)); + $this->setCurrentDir(\dirname($path)); $this->container->fileExists($path); // the closure forbids access to the private scope in the included file @@ -53,7 +53,7 @@ class PhpFileLoader extends FileLoader */ public function supports($resource, $type = null) { - if (!is_string($resource)) { + if (!\is_string($resource)) { return false; }