Skip to content

Commit

Permalink
minor #30740 [HttpClient] Remove unused local variable (samnela)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
nicolas-grekas committed Mar 28, 2019
2 parents 71c33c1 + 60b0773 commit 708639f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Symfony/Component/HttpClient/Chunk/ErrorChunk.php
Expand Up @@ -28,7 +28,6 @@ class ErrorChunk implements ChunkInterface

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

0 comments on commit 708639f

Please sign in to comment.