Skip to content

Commit

Permalink
Merge pull request #26 from php-http/analysis-6VE416
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
dbu authored Oct 31, 2024
2 parents bf47eb5 + 24ed489 commit 73b74a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LoggerPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function doHandleRequest(RequestInterface $request, callable $next, ca

return $response;
}, function (Exception $exception) use ($request, $start, $uid) {
$milliseconds = (int) round((hrtime(true) / 1E6 - $start));
$milliseconds = (int) round(hrtime(true) / 1E6 - $start);
if ($exception instanceof Exception\HttpException) {
$formattedResponse = method_exists($this->formatter, 'formatResponseForRequest')
? $this->formatter->formatResponseForRequest($exception->getResponse(), $exception->getRequest())
Expand Down

0 comments on commit 73b74a2

Please sign in to comment.