Skip to content

Commit

Permalink
Add array shape PHPdoc for curlMultiMap
Browse files Browse the repository at this point in the history
  • Loading branch information
phil-davis committed Jun 27, 2023
1 parent f4474d2 commit dbc86e4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions lib/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,6 @@ public function poll(): bool
if ($status && CURLMSG_DONE === $status['msg']) {
$resourceId = (int) $status['handle'];

/**
* @var RequestInterface $request
* @var callable $successCallback
* @var callable $errorCallback
* @var int $retryCount
*/
list(
$request,
$successCallback,
Expand Down Expand Up @@ -360,7 +354,7 @@ protected function doRequest(RequestInterface $request): ResponseInterface
* Has a list of curl handles, as well as their associated success and
* error callbacks.
*
* @var array<int, mixed>
* @var array<int, array{0: RequestInterface, 1: callable, 2: callable, 3: int}>
*/
private array $curlMultiMap = [];

Expand Down

0 comments on commit dbc86e4

Please sign in to comment.