Skip to content

Commit

Permalink
stan fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mandan2 committed Sep 11, 2023
1 parent 439a379 commit c79a369
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Handler/ErrorHandler/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
namespace Mollie\Handler\ErrorHandler;

use Configuration;
use Exception;
use Mollie;
use Mollie\Config\Config;
use Mollie\Config\Env;
Expand Down Expand Up @@ -94,9 +93,9 @@ public function __construct(Mollie $module, Env $env = null)
}

/**
* @throws Exception
* @throws \Throwable
*/
public function handle(Exception $error, ?int $code = null, ?bool $throw = true): void
public function handle(\Throwable $error, ?int $code = null, ?bool $throw = true): void
{
$this->client->captureException($error, $this->exceptionContext);

Expand Down

0 comments on commit c79a369

Please sign in to comment.