From 573b03f62239238b400439bb8623756ea2ac7fb4 Mon Sep 17 00:00:00 2001 From: Jeroen de Graaf Date: Wed, 11 Aug 2021 15:34:04 +0200 Subject: [PATCH] Fix typo in docblock `CurlClient::executeStreamingRequestWithRetries` Parameter `$readBodyChunk` was set in docblock with an `@` instead of a `$`. This resulted in failing annotation parsing (doctrine/annotations): ``` [Semantical Error] The annotation "@readBodyChunk" in method Stripe\HttpClient\CurlClient::executeStreamingRequestWithRetries() was never imported. Did you maybe forget to add a "use" statement for this annotation? ``` --- lib/HttpClient/CurlClient.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/HttpClient/CurlClient.php b/lib/HttpClient/CurlClient.php index 3cca9c540..1497bc3f4 100644 --- a/lib/HttpClient/CurlClient.php +++ b/lib/HttpClient/CurlClient.php @@ -355,8 +355,7 @@ private static function parseLineIntoHeaderArray($line, &$headers) * * @param array $opts cURL options * @param string $absUrl - * @param callable @readBodyChunk - * @param mixed $readBodyChunk + * @param callable $readBodyChunk * * @return array */