We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb5f1c4 commit 271bb4aCopy full SHA for 271bb4a
src/ReferenceContext.php
@@ -81,7 +81,6 @@ public function resolveRelativeUri(string $uri): string
81
82
$baseUri = $this->getUri();
83
if (strncmp($baseUri, 'file://', 7) === 0) {
84
-
85
if (isset($parts['path'][0]) && $parts['path'][0] === '/') {
86
// absolute path
87
return 'file://' . $parts['path'];
@@ -106,7 +105,7 @@ public function resolveRelativeUri(string $uri): string
106
105
]);
107
108
$absoluteUri .= $parts['path'];
109
- } else if (isset($parts['path'])) {
+ } elseif (isset($parts['path'])) {
110
$absoluteUri .= rtrim(dirname($baseParts['path'] ?? ''), '/') . '/' . $parts['path'];
111
}
112
return $absoluteUri
0 commit comments