This commit is contained in:
2022-05-31 08:24:44 +08:00
parent c149afa3f8
commit e6b10bbd70
+1 -1
View File
@@ -151,7 +151,7 @@ class CurlClient extends ClientAbstracts
* @return void
* @throws Exception
*/
private function retry()
private function retry(): void
{
if (Context::increment('retry') <= $this->retryNum) {
sleep($this->retryTimeout);