From 3c84c213185a28ab3b52b0f4c38fdd2332106cc7 Mon Sep 17 00:00:00 2001 From: Art4 Date: Tue, 19 Nov 2024 08:05:34 +0000 Subject: [PATCH] Remove unused parameters in AddonInvalidConfigFileException --- src/Core/Addon/Exception/AddonInvalidConfigFileException.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Addon/Exception/AddonInvalidConfigFileException.php b/src/Core/Addon/Exception/AddonInvalidConfigFileException.php index 677a9e42bd..f7d245ba16 100644 --- a/src/Core/Addon/Exception/AddonInvalidConfigFileException.php +++ b/src/Core/Addon/Exception/AddonInvalidConfigFileException.php @@ -14,8 +14,8 @@ use Throwable; */ class AddonInvalidConfigFileException extends \RuntimeException { - public function __construct($message = '', $code = 0, Throwable $previous = null) + public function __construct($message = '') { - parent::__construct($message, 500, $previous); + parent::__construct($message, 500); } }