File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments