File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55namespace OpenStack \Common \Transport ;
66
7- use function GuzzleHttp \Psr7 \uri_for ;
7+ use GuzzleHttp \Psr7 \Utils as GuzzleUtils ;
88use GuzzleHttp \UriTemplate \UriTemplate ;
99use Psr \Http \Message \ResponseInterface ;
1010use 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 /**
You can’t perform that action at this time.
0 commit comments