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
-------

60b077337c [HttpClient] Remove unused local variable
This commit is contained in:
Nicolas Grekas 2019-03-28 12:14:50 +01:00
commit 708639f453

View File

@ -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.';