mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-25 06:09:55 +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
|
|
@ -51,7 +51,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getServerParams();
|
||||
public function getServerParams(): array;
|
||||
|
||||
/**
|
||||
* Retrieve cookies.
|
||||
|
|
@ -63,7 +63,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getCookieParams();
|
||||
public function getCookieParams(): array;
|
||||
|
||||
/**
|
||||
* Return an instance with the specified cookies.
|
||||
|
|
@ -82,7 +82,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
* @param array $cookies Array of key/value pairs representing cookies.
|
||||
* @return static
|
||||
*/
|
||||
public function withCookieParams(array $cookies);
|
||||
public function withCookieParams(array $cookies): ServerRequestInterface;
|
||||
|
||||
/**
|
||||
* Retrieve query string arguments.
|
||||
|
|
@ -96,7 +96,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
public function getQueryParams();
|
||||
public function getQueryParams(): array;
|
||||
|
||||
/**
|
||||
* Return an instance with the specified query string arguments.
|
||||
|
|
@ -120,7 +120,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
* $_GET.
|
||||
* @return static
|
||||
*/
|
||||
public function withQueryParams(array $query);
|
||||
public function withQueryParams(array $query): ServerRequestInterface;
|
||||
|
||||
/**
|
||||
* Retrieve normalized file upload data.
|
||||
|
|
@ -134,7 +134,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
* @return array An array tree of UploadedFileInterface instances; an empty
|
||||
* array MUST be returned if no data is present.
|
||||
*/
|
||||
public function getUploadedFiles();
|
||||
public function getUploadedFiles(): array;
|
||||
|
||||
/**
|
||||
* Create a new instance with the specified uploaded files.
|
||||
|
|
@ -147,7 +147,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
* @return static
|
||||
* @throws \InvalidArgumentException if an invalid structure is provided.
|
||||
*/
|
||||
public function withUploadedFiles(array $uploadedFiles);
|
||||
public function withUploadedFiles(array $uploadedFiles): ServerRequestInterface;
|
||||
|
||||
/**
|
||||
* Retrieve any parameters provided in the request body.
|
||||
|
|
@ -194,7 +194,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
* @throws \InvalidArgumentException if an unsupported argument type is
|
||||
* provided.
|
||||
*/
|
||||
public function withParsedBody($data);
|
||||
public function withParsedBody($data): ServerRequestInterface;
|
||||
|
||||
/**
|
||||
* Retrieve attributes derived from the request.
|
||||
|
|
@ -207,7 +207,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
*
|
||||
* @return array Attributes derived from the request.
|
||||
*/
|
||||
public function getAttributes();
|
||||
public function getAttributes(): array;
|
||||
|
||||
/**
|
||||
* Retrieve a single derived request attribute.
|
||||
|
|
@ -224,7 +224,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
* @param mixed $default Default value to return if the attribute does not exist.
|
||||
* @return mixed
|
||||
*/
|
||||
public function getAttribute($name, $default = null);
|
||||
public function getAttribute(string $name, $default = null);
|
||||
|
||||
/**
|
||||
* Return an instance with the specified derived request attribute.
|
||||
|
|
@ -241,7 +241,7 @@ interface ServerRequestInterface extends RequestInterface
|
|||
* @param mixed $value The value of the attribute.
|
||||
* @return static
|
||||
*/
|
||||
public function withAttribute($name, $value);
|
||||
public function withAttribute(string $name, $value): ServerRequestInterface;
|
||||
|
||||
/**
|
||||
* Return an instance that removes the specified derived request attribute.
|
||||
|
|
@ -257,5 +257,5 @@ interface ServerRequestInterface extends RequestInterface
|
|||
* @param string $name The attribute name.
|
||||
* @return static
|
||||
*/
|
||||
public function withoutAttribute($name);
|
||||
public function withoutAttribute(string $name): ServerRequestInterface;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue