From e6b10bbd705e81fb1d29a51054d86ed81800d794 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 31 May 2022 08:24:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CurlClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CurlClient.php b/CurlClient.php index 44d6e1d..d2763ea 100644 --- a/CurlClient.php +++ b/CurlClient.php @@ -151,8 +151,8 @@ class CurlClient extends ClientAbstracts * @return void * @throws Exception */ - private function retry() - { + private function retry(): void + { if (Context::increment('retry') <= $this->retryNum) { sleep($this->retryTimeout);