Skip to content

Commit

Permalink
Remove countable warning about Curl/GuzzleHttp
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueccruz committed Nov 10, 2020
1 parent 6c8bf77 commit 5862d7c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function release(EasyHandle $easy)
$resource = $easy->handle;
unset($easy->handle);

if (count($this->handles) >= $this->maxHandles) {
if (count( (array) $this->handles) >= $this->maxHandles) {
curl_close($resource);
} else {
// Remove all callback functions as they can hold onto references
Expand Down

0 comments on commit 5862d7c

Please sign in to comment.