We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bf47eb5 + 24ed489 commit 73b74a2Copy full SHA for 73b74a2
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