Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 708639f

Browse files
minor #30740 [HttpClient] Remove unused local variable (samnela)
This PR was merged into the 4.3-dev branch. Discussion ---------- [HttpClient] Remove unused local variable | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 60b0773 [HttpClient] Remove unused local variable
2 parents 71c33c1 + 60b0773 commit 708639f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class ErrorChunk implements ChunkInterface
2828

2929
public function __construct(int $offset, \Throwable $error = null)
3030
{
31-
$didThrow = false;
3231
$this->offset = $offset;
3332
$this->error = $error;
3433
$this->errorMessage = null !== $error ? $error->getMessage() : 'Reading from the response stream reached the inactivity timeout.';

0 commit comments

Comments
 (0)