File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
namespace Http \Client \Plugin ;
4
4
5
- use Http \Message \UriFactory ;
6
5
use Http \Promise \Promise ;
7
6
use Psr \Http \Message \RequestInterface ;
8
7
use Psr \Http \Message \UriInterface ;
@@ -15,7 +14,6 @@ class BaseUriPlugin implements Plugin
15
14
private $ baseUri ;
16
15
17
16
/**
18
- *
19
17
* @param UriInterface $baseUri
20
18
*/
21
19
public function __construct (UriInterface $ baseUri )
@@ -56,7 +54,7 @@ private function modifyUri(UriInterface $uri)
56
54
$ modifiedUri = $ modifiedUri ->withQuery ($ uri ->getQuery ());
57
55
} else {
58
56
// Append baseUri this url
59
- if ("" !== $ query = $ this ->baseUri ->getQuery ()) {
57
+ if ('' !== $ query = $ this ->baseUri ->getQuery ()) {
60
58
// Append the uri on the query
61
59
$ modifiedUri = $ this ->baseUri ->withQuery ($ query .$ uriString );
62
60
} else {
You can’t perform that action at this time.
0 commit comments