diff --git a/Classes/Utility/Misc.php b/Classes/Utility/Misc.php index 08800667..b14e2967 100644 --- a/Classes/Utility/Misc.php +++ b/Classes/Utility/Misc.php @@ -27,6 +27,7 @@ use Exception; use Sys25\RnBase\Configuration\Processor as ConfigurationProcessor; use Sys25\RnBase\Exception\AdditionalException; +use Throwable; use tx_rnbase; use TYPO3\CMS\Core\Core\SystemEnvironmentBuilder; use TYPO3\CMS\Core\Http\ServerRequest; @@ -689,12 +690,12 @@ public static function camelCaseToLowerCaseUnderscored($string) /** * Sendout an error mail. * - * @param string $mailAddr commaseperated recipients - * @param string $actionName - * @param Exception $e - * @param array $options + * @param string $mailAddr commaseperated recipients + * @param string $actionName + * @param Throwable $e + * @param array $options */ - public static function sendErrorMail($mailAddr, $actionName, Exception $e, array $options = []) + public static function sendErrorMail($mailAddr, $actionName, Throwable $e, array $options = []) { $ignoreMailLock = (array_key_exists('ignoremaillock', $options) && $options['ignoremaillock']);