Skip to content

Commit e955aae

Browse files
committed
Fix PHP 7.2 - 7.3 tests
1 parent bf9ed6d commit e955aae

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

src/HttpClient/HttpClient.php

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,20 @@
99

1010
class HttpClient implements HttpClientInterface
1111
{
12-
protected Options $options;
12+
/**
13+
* @var Options
14+
*/
15+
protected $options;
1316

14-
protected string $sdkIdentifier;
17+
/**
18+
* @var string The Sentry SDK identifier
19+
*/
20+
protected $sdkIdentifier;
1521

16-
protected string $sdkVersion;
22+
/**
23+
* @var string The Sentry SDK identifier
24+
*/
25+
protected $sdkVersion;
1726

1827
public function __construct(Options $options, string $sdkIdentifier, string $sdkVersion)
1928
{
@@ -125,7 +134,7 @@ protected function getRequestHeaders(): array
125134
/**
126135
* @TODO(michi) This might need a bit more love,
127136
* but we only really care about X-Sentry-Rate-Limits and Retry-After
128-
*
137+
*
129138
* @return string[]
130139
*/
131140
protected function getResponseHeaders(?int $headerSize, string $body): array

src/HttpClient/Response.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,7 @@ class Response
2222
protected $error;
2323

2424
/**
25-
*
26-
* @param int $statusCode
27-
* @param string[] $headers
28-
* @param string $error
25+
* @param string[] $headers
2926
*/
3027
public function __construct(int $statusCode, array $headers, string $error)
3128
{

0 commit comments

Comments
 (0)