From eab7d96b103c74bc1fcc0d8097950b6537bb12cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Mon, 20 Jan 2025 09:20:27 +0100 Subject: [PATCH] Fix Delete handling exception previous argument type --- src/Component/src/Exception/DeleteHandlingException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Component/src/Exception/DeleteHandlingException.php b/src/Component/src/Exception/DeleteHandlingException.php index 794e67181..905c27571 100644 --- a/src/Component/src/Exception/DeleteHandlingException.php +++ b/src/Component/src/Exception/DeleteHandlingException.php @@ -24,7 +24,7 @@ public function __construct( string $flash = 'something_went_wrong_error', int $apiResponseCode = 500, int $code = 0, - ?\Exception $previous = null, + ?\Throwable $previous = null, ) { parent::__construct($message, $code, $previous);