Skip to content

Commit c51108e

Browse files
committed
refactor(http): type CURLRequest retry properties
Signed-off-by: memleakd <121398829+memleakd@users.noreply.github.com>
1 parent 0aba960 commit c51108e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/HTTP/CURLRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class CURLRequest extends OutgoingRequest
8787
*
8888
* @var array<string, bool|int|list<int>>
8989
*/
90-
protected $retryDefaults = [
90+
protected array $retryDefaults = [
9191
'max_retries' => 3,
9292
'delay' => 1000,
9393
'max_delay' => 30_000,
@@ -101,7 +101,7 @@ class CURLRequest extends OutgoingRequest
101101
*
102102
* @var list<int>
103103
*/
104-
protected $transientCurlErrors = [];
104+
protected array $transientCurlErrors = [];
105105

106106
/**
107107
* The number of milliseconds to delay before

0 commit comments

Comments
 (0)