diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 4ef4192d..70d5cb32 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -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#' diff --git a/src/Client.php b/src/Client.php index 3490d6a5..5048bb40 100644 --- a/src/Client.php +++ b/src/Client.php @@ -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 */