Fix CurlerRollingWithRetries::execOne definition to match smi2/phpClickHouse v1.26.406 (#57)
This commit is contained in:
@@ -15,7 +15,7 @@ class CurlerRollingWithRetries extends CurlerRolling
|
||||
protected $retries = 0;
|
||||
|
||||
/** @inheritDoc */
|
||||
public function execOne(CurlerRequest $request, $auto_close = false)
|
||||
public function execOne(CurlerRequest $request, bool $auto_close = false): int
|
||||
{
|
||||
$attempts = 1 + max(0, $this->retries);
|
||||
$httpCode = 0;
|
||||
|
||||
Reference in New Issue
Block a user