Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Mar 10, 2020
1 parent ee30665 commit dddbb6c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Connection/Internal/Http2ConnectionProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -1307,10 +1307,10 @@ private function releaseStream(int $streamId, ?\Throwable $exception = null): vo

if ($stream->responsePending || $stream->body || $stream->trailers) {
$exception = $exception ?? new ClientHttp2StreamException(
\sprintf("Stream %d closed unexpectedly", $streamId),
$streamId,
Http2Parser::INTERNAL_ERROR
);
\sprintf("Stream %d closed unexpectedly", $streamId),
$streamId,
Http2Parser::INTERNAL_ERROR
);

if (!$exception instanceof HttpException && !$exception instanceof CancelledException) {
$exception = new HttpException($exception->getMessage(), 0, $exception);
Expand Down

0 comments on commit dddbb6c

Please sign in to comment.