Skip to content
Permalink
Browse files

Fixed a regression

  • Loading branch information
cedx committed Dec 14, 2020
1 parent a4dd8ab commit d04dbf46f775dc2ef4bbf57498d255d5e2e9409a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Client.php
@@ -130,7 +130,7 @@ private function fetch(UriInterface $endPoint, array $fields = []): ResponseInte

try {
$request = $this->http->createRequest("POST", $endPoint)
->withBody($this->http->createStream(http_build_query($bodyFields, enc_type: PHP_QUERY_RFC1738)))
->withBody($this->http->createStream(http_build_query($bodyFields, encoding_type: PHP_QUERY_RFC1738)))
->withHeader("User-Agent", $this->getUserAgent());

$this->dispatch(new RequestEvent($request));

0 comments on commit d04dbf4

Please sign in to comment.