Skip to content

Commit

Permalink
php cs fixer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
GytisZum committed Jul 8, 2024
1 parent 1ecdcdc commit 3b88829
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/front/webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ private function setContext(int $cartId): void
$this->context->cart = $cart;
}

private function handleException(\Throwable $exception, int $httpStatusCode, string $logMessage): void
private function handleException(Throwable $exception, int $httpStatusCode, string $logMessage): void
{
/** @var PrestaLoggerInterface $logger */
$logger = $this->module->getService(PrestaLoggerInterface::class);
Expand All @@ -160,7 +160,7 @@ private function handleException(\Throwable $exception, int $httpStatusCode, str

$logger->error($logMessage, [
'Exception message' => $exception->getMessage(),
'Exception code' => $httpStatusCode
'Exception code' => $httpStatusCode,
]);

$errorHandler->handle($exception, $httpStatusCode, false);
Expand Down

0 comments on commit 3b88829

Please sign in to comment.