diff --git a/src/BodyOnlyFormatter.php b/src/BodyOnlyFormatter.php index 61932984..e8ed2bf4 100644 --- a/src/BodyOnlyFormatter.php +++ b/src/BodyOnlyFormatter.php @@ -1,5 +1,4 @@ withBody($this->formatBody($response, $streamFactory)); } - abstract protected function formatBody(UnformattedResponse $response, StreamFactoryInterface $streamFactory): StreamInterface; + abstract protected function formatBody( + UnformattedResponse $response, + StreamFactoryInterface $streamFactory + ): StreamInterface; } diff --git a/src/ContentFormatter.php b/src/ContentFormatter.php index 5e4c1003..c4e592cd 100644 --- a/src/ContentFormatter.php +++ b/src/ContentFormatter.php @@ -1,5 +1,4 @@ ","\'bar\'","\"baz\"","&blong&","\u00e9","http://"]', - (new Json(JSON_UNESCAPED_SLASHES))->formatContent(['', "'bar'", '"baz"', '&blong&', "\xc3\xa9", 'http://']) + (new Json(JSON_UNESCAPED_SLASHES)) + ->formatContent(['', "'bar'", '"baz"', '&blong&', "\xc3\xa9", 'http://']) ); }