Skip to content

Commit 376450e

Browse files
committed
Replaced uri_for with GuzzleUtils::uriFor
1 parent b0a83f1 commit 376450e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Common/Transport/Utils.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace OpenStack\Common\Transport;
66

7-
use function GuzzleHttp\Psr7\uri_for;
7+
use GuzzleHttp\Psr7\Utils as GuzzleUtils;
88
use GuzzleHttp\UriTemplate\UriTemplate;
99
use Psr\Http\Message\ResponseInterface;
1010
use Psr\Http\Message\UriInterface;
@@ -74,12 +74,12 @@ public static function normalizeUrl(string $url): string
7474
*/
7575
public static function addPaths(UriInterface $uri, ...$paths): UriInterface
7676
{
77-
return uri_for(rtrim((string) $uri, '/').'/'.implode('/', $paths));
77+
return GuzzleUtils::uriFor(rtrim((string) $uri, '/').'/'.implode('/', $paths));
7878
}
7979

8080
public static function appendPath(UriInterface $uri, $path): UriInterface
8181
{
82-
return uri_for(rtrim((string) $uri, '/').'/'.$path);
82+
return GuzzleUtils::uriFor(rtrim((string) $uri, '/').'/'.$path);
8383
}
8484

8585
/**

0 commit comments

Comments
 (0)