Skip to content

Commit 4142982

Browse files
authored
Bugfix.
1 parent 5bed78c commit 4142982

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Traits/HasHttpRequests.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ public function getHttpClient(): ClientInterface
9090
* @param array $options
9191
* @param bool $async
9292
*
93-
* @return \Psr\Http\Message\ResponseInterface
93+
* @return \Psr\Http\Message\ResponseInterface|\GuzzleHttp\Promise\Promise
9494
*/
95-
public function request($uri, $method = 'GET', $options = [], bool $async = false): ResponseInterface
95+
public function request($uri, $method = 'GET', $options = [], bool $async = false)
9696
{
9797
return $this->getHttpClient()->{ $async ? 'requestAsync' : 'request' }(strtoupper($method), $uri, array_merge(self::$defaults, $options));
9898
}

0 commit comments

Comments
 (0)