Skip to content

Commit 5e9b639

Browse files
committed
Update cs and when to check it
1 parent bb5e948 commit 5e9b639

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Reference.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __construct(string $reference, string $origin)
4040
$mergedParts = array_merge($originParts, $referenceParts);
4141

4242
if (array_key_exists('path', $referenceParts)) {
43-
$mergedParts['path'] = $this->joinPath(dirname($originParts['path']), $referenceParts['path']);
43+
$mergedParts['path'] = $this->joinPath(\dirname($originParts['path']), $referenceParts['path']);
4444
}
4545

4646
$this->referenceUri = $http::createFromString($reference);
@@ -171,7 +171,7 @@ private function joinPath(...$paths)
171171
continue;
172172
}
173173

174-
if ('..' === $part && count($resultPathParts) > 0) {
174+
if ('..' === $part && \count($resultPathParts) > 0) {
175175
array_pop($resultPathParts);
176176
continue;
177177
}

0 commit comments

Comments
 (0)