Added missing tap()

This commit is contained in:
Alex Renoki 2020-08-19 19:49:56 +03:00
parent ca8fb5355b
commit 0902d43244
1 changed files with 1 additions and 3 deletions

View File

@ -132,9 +132,7 @@ abstract class Controller implements HttpServerInterface
'error' => $exception->getMessage(),
]));
$connection->send(\GuzzleHttp\Psr7\str($response));
$connection->close();
tap($connection)->send(\GuzzleHttp\Psr7\str($response))->close();
}
/**