Skip to content

Commit faf42b2

Browse files
[HttpClient] Fix initializing InformationalChunk
1 parent babd9be commit faf42b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Symfony/Component/HttpClient/Chunk/InformationalChunk.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class InformationalChunk extends DataChunk
2323
public function __construct(int $statusCode, array $headers)
2424
{
2525
$this->status = [$statusCode, $headers];
26+
27+
parent::__construct();
2628
}
2729

2830
public function getInformationalStatus(): ?array

0 commit comments

Comments
 (0)