Skip to content

Commit 65c5a59

Browse files
committed
Clean up
1 parent c15f23c commit 65c5a59

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Curl/Curl.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1099,8 +1099,7 @@ public function attemptRetry()
10991099
if ($this->retryDecider === null) {
11001100
$attempt_retry = $this->remainingRetries >= 1;
11011101
} else {
1102-
$func = $this->retryDecider;
1103-
$attempt_retry = $func($this);
1102+
$attempt_retry = call_user_func($this->retryDecider, $this);
11041103
}
11051104
if ($attempt_retry) {
11061105
$this->retries += 1;

0 commit comments

Comments
 (0)