Skip to content

Commit

Permalink
Fix type issue for exception mailing (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
digedag committed Nov 2, 2023
1 parent dad913d commit f392ca3
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Classes/Utility/Misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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']);

Expand Down

0 comments on commit f392ca3

Please sign in to comment.