mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-24 10:03:27 +01:00
Merge pull request #1374 from zf2timo/master
ClientInterface::request did not accept null
This commit is contained in:
commit
b498f9ed29
@ -44,14 +44,14 @@ interface ClientInterface
|
||||
* relative path to append to the base path of the client. The URL can
|
||||
* contain the query string as well.
|
||||
*
|
||||
* @param string $method HTTP method
|
||||
* @param string|UriInterface $uri URI object or string.
|
||||
* @param array $options Request options to apply.
|
||||
* @param string $method HTTP method.
|
||||
* @param string|UriInterface|null $uri URI object or string (default null).
|
||||
* @param array $options Request options to apply.
|
||||
*
|
||||
* @return ResponseInterface
|
||||
* @throws GuzzleException
|
||||
*/
|
||||
public function request($method, $uri, array $options = []);
|
||||
public function request($method, $uri = null, array $options = []);
|
||||
|
||||
/**
|
||||
* Create and send an asynchronous HTTP request.
|
||||
|
Loading…
x
Reference in New Issue
Block a user