Skip to content

Commit

Permalink
Fixed coding styles
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Feb 12, 2021
1 parent e881618 commit 2c7430a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middleware/ContentLengthMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(?callable $isSwoole = null)
: static fn () => extension_loaded('swoole');
}

public function process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
public function process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface
{
$response = $handler->handle($request);
if (($this->isSwoole)() || $response->hasHeader('Content-Length')) {
Expand Down

0 comments on commit 2c7430a

Please sign in to comment.