1
0
mirror of https://github.com/guzzle/guzzle.git synced 2025-01-17 13:28:13 +01:00

PHPStan config

This commit is contained in:
Nyholm 2019-10-23 22:14:15 +02:00
parent fb6b954530
commit 2a9a0f007d
2 changed files with 10 additions and 6 deletions

View File

@ -7,3 +7,7 @@ parameters:
-
message: '#Function uri_template not found#'
path: %currentWorkingDirectory%/src/functions.php
# To be removed when we drop support for PHP5
- '#Return typehint of method#'

View File

@ -76,7 +76,7 @@ class Client implements ClientInterface
}
/**
* @param string $method
* @param string $method
*
* @return Promise\PromiseInterface
*/
@ -97,8 +97,8 @@ class Client implements ClientInterface
/**
* Asynchronously send an HTTP request.
*
* @param array $options Request options to apply to the given
* request and to the transfer. See \GuzzleHttp\RequestOptions.
* @param array $options Request options to apply to the given
* request and to the transfer. See \GuzzleHttp\RequestOptions.
*
* @return PromiseInterface
*/
@ -116,8 +116,8 @@ class Client implements ClientInterface
/**
* Send an HTTP request.
*
* @param array $options Request options to apply to the given
* request and to the transfer. See \GuzzleHttp\RequestOptions.
* @param array $options Request options to apply to the given
* request and to the transfer. See \GuzzleHttp\RequestOptions.
*
* @return ResponseInterface
* @throws GuzzleException
@ -318,7 +318,7 @@ class Client implements ClientInterface
* The URI of the request is not modified and the request options are used
* as-is without merging in default options.
*
* @param array $options See \GuzzleHttp\RequestOptions.
* @param array $options See \GuzzleHttp\RequestOptions.
*
* @return Promise\PromiseInterface
*/