diff --git a/FileLocator.php b/FileLocator.php index bf800694b..58c492bff 100644 --- a/FileLocator.php +++ b/FileLocator.php @@ -86,7 +86,7 @@ private function isAbsolutePath(string $file): bool && ':' === $file[1] && ('\\' === $file[2] || '/' === $file[2]) ) - || null !== parse_url($file, \PHP_URL_SCHEME) + || parse_url($file, \PHP_URL_SCHEME) ) { return true; }