diff --git a/src/Parser/Helper.php b/src/Parser/Helper.php index cbf503b0..2cd71210 100755 --- a/src/Parser/Helper.php +++ b/src/Parser/Helper.php @@ -265,11 +265,6 @@ public static function relativePath(string $file, string $ref) } } - if (count($file) < count($ref)) { - - return static::toUrl($fileUrl); - } - while ($ref) { $r = $ref[0]; @@ -430,4 +425,4 @@ public static function fetchContent(string $url, array $options = [], array $cur ] ])); } -} \ No newline at end of file +}