From 23d23da6b3c54ba0cd84e9f90746dd618a2b2e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Wed, 28 Jan 2026 22:35:29 +0100 Subject: [PATCH] Specify `\Throwable` explicitly in `ConvertSubjectException` constructor for improved type clarity. --- .../ChillMainBundle/Audit/Exception/ConvertSubjectException.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Bundle/ChillMainBundle/Audit/Exception/ConvertSubjectException.php b/src/Bundle/ChillMainBundle/Audit/Exception/ConvertSubjectException.php index 20d77b402..0c0ff020d 100644 --- a/src/Bundle/ChillMainBundle/Audit/Exception/ConvertSubjectException.php +++ b/src/Bundle/ChillMainBundle/Audit/Exception/ConvertSubjectException.php @@ -13,7 +13,7 @@ namespace Chill\MainBundle\Audit\Exception; class ConvertSubjectException extends \LogicException { - public function __construct(mixed $subject, ?Throwable $previous = null) + public function __construct(mixed $subject, ?\Throwable $previous = null) { parent::__construct( sprintf('Could not convert object of type %s to an acceptable audit representation', is_object($subject) ? get_class($subject) : gettype($subject)),