Skip to content

Commit 7debb44

Browse files
authored
Merge pull request php-vcr#396 from php-vcr/395-error-typed-property-vcrresponse$httpversion-must-not-be-accessed-before-initialization
FIX: Initialized typed property
2 parents 376dd9c + 7bc77ca commit 7debb44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VCR/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Response
2525
*/
2626
protected array $curlInfo = [];
2727

28-
protected mixed $httpVersion;
28+
protected mixed $httpVersion = null;
2929

3030
/**
3131
* @param string|array<string, string> $status

0 commit comments

Comments
 (0)