We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf47eb5 commit 24ed489Copy full SHA for 24ed489
src/LoggerPlugin.php
@@ -50,7 +50,7 @@ protected function doHandleRequest(RequestInterface $request, callable $next, ca
50
51
return $response;
52
}, function (Exception $exception) use ($request, $start, $uid) {
53
- $milliseconds = (int) round((hrtime(true) / 1E6 - $start));
+ $milliseconds = (int) round(hrtime(true) / 1E6 - $start);
54
if ($exception instanceof Exception\HttpException) {
55
$formattedResponse = method_exists($this->formatter, 'formatResponseForRequest')
56
? $this->formatter->formatResponseForRequest($exception->getResponse(), $exception->getRequest())
0 commit comments