File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace OpenStack \Common \Transport ;
6
6
7
- use function GuzzleHttp \Psr7 \uri_for ;
7
+ use GuzzleHttp \Psr7 \Utils as GuzzleUtils ;
8
8
use GuzzleHttp \UriTemplate \UriTemplate ;
9
9
use Psr \Http \Message \ResponseInterface ;
10
10
use Psr \Http \Message \UriInterface ;
@@ -74,12 +74,12 @@ public static function normalizeUrl(string $url): string
74
74
*/
75
75
public static function addPaths (UriInterface $ uri , ...$ paths ): UriInterface
76
76
{
77
- return uri_for (rtrim ((string ) $ uri , '/ ' ).'/ ' .implode ('/ ' , $ paths ));
77
+ return GuzzleUtils:: uriFor (rtrim ((string ) $ uri , '/ ' ).'/ ' .implode ('/ ' , $ paths ));
78
78
}
79
79
80
80
public static function appendPath (UriInterface $ uri , $ path ): UriInterface
81
81
{
82
- return uri_for (rtrim ((string ) $ uri , '/ ' ).'/ ' .$ path );
82
+ return GuzzleUtils:: uriFor (rtrim ((string ) $ uri , '/ ' ).'/ ' .$ path );
83
83
}
84
84
85
85
/**
You can’t perform that action at this time.
0 commit comments