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); } }