mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-31 09:45:25 +09:00
Update guzzlehttp/guzzle and related libraries
This commit is contained in:
parent
901bdab6a9
commit
1625683082
115 changed files with 2322 additions and 6573 deletions
|
|
@ -39,7 +39,7 @@ interface RequestInterface extends MessageInterface
|
|||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getRequestTarget();
|
||||
public function getRequestTarget(): string;
|
||||
|
||||
/**
|
||||
* Return an instance with the specific request-target.
|
||||
|
|
@ -55,17 +55,18 @@ interface RequestInterface extends MessageInterface
|
|||
*
|
||||
* @link http://tools.ietf.org/html/rfc7230#section-5.3 (for the various
|
||||
* request-target forms allowed in request messages)
|
||||
* @param mixed $requestTarget
|
||||
* @param string $requestTarget
|
||||
* @return static
|
||||
*/
|
||||
public function withRequestTarget($requestTarget);
|
||||
public function withRequestTarget(string $requestTarget): RequestInterface;
|
||||
|
||||
|
||||
/**
|
||||
* Retrieves the HTTP method of the request.
|
||||
*
|
||||
* @return string Returns the request method.
|
||||
*/
|
||||
public function getMethod();
|
||||
public function getMethod(): string;
|
||||
|
||||
/**
|
||||
* Return an instance with the provided HTTP method.
|
||||
|
|
@ -82,7 +83,7 @@ interface RequestInterface extends MessageInterface
|
|||
* @return static
|
||||
* @throws \InvalidArgumentException for invalid HTTP methods.
|
||||
*/
|
||||
public function withMethod($method);
|
||||
public function withMethod(string $method): RequestInterface;
|
||||
|
||||
/**
|
||||
* Retrieves the URI instance.
|
||||
|
|
@ -93,7 +94,7 @@ interface RequestInterface extends MessageInterface
|
|||
* @return UriInterface Returns a UriInterface instance
|
||||
* representing the URI of the request.
|
||||
*/
|
||||
public function getUri();
|
||||
public function getUri(): UriInterface;
|
||||
|
||||
/**
|
||||
* Returns an instance with the provided URI.
|
||||
|
|
@ -125,5 +126,5 @@ interface RequestInterface extends MessageInterface
|
|||
* @param bool $preserveHost Preserve the original state of the Host header.
|
||||
* @return static
|
||||
*/
|
||||
public function withUri(UriInterface $uri, $preserveHost = false);
|
||||
public function withUri(UriInterface $uri, bool $preserveHost = false): RequestInterface;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue