We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc3345a commit a3f96b3Copy full SHA for a3f96b3
src/BaseUriPlugin.php
@@ -2,7 +2,6 @@
2
3
namespace Http\Client\Plugin;
4
5
-use Http\Message\UriFactory;
6
use Http\Promise\Promise;
7
use Psr\Http\Message\RequestInterface;
8
use Psr\Http\Message\UriInterface;
@@ -15,7 +14,6 @@ class BaseUriPlugin implements Plugin
15
14
private $baseUri;
16
17
/**
18
- *
19
* @param UriInterface $baseUri
20
*/
21
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
// Append baseUri this url
59
- if ("" !== $query = $this->baseUri->getQuery()) {
+ if ('' !== $query = $this->baseUri->getQuery()) {
60
// Append the uri on the query
61
$modifiedUri = $this->baseUri->withQuery($query.$uriString);
62
0 commit comments