Fix CurlerRollingWithRetries::execOne definition to match smi2/phpClickHouse v1.26.406 (#57)

This commit is contained in:
Thomas Alias
2026-04-17 18:21:58 +05:00
committed by GitHub
parent a94b55ded2
commit b45f5de151
+1 -1
View File
@@ -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;