chore: reformat code.

This commit is contained in:
James Cole
2023-06-21 12:34:58 +02:00
parent 8d87abde64
commit 3dcb35710b
799 changed files with 23319 additions and 22173 deletions

View File

@@ -51,10 +51,10 @@ class MailError extends Job implements ShouldQueue
/**
* MailError constructor.
*
* @param array $userData
* @param string $destination
* @param string $ipAddress
* @param array $exceptionData
* @param array $userData
* @param string $destination
* @param string $ipAddress
* @param array $exceptionData
*/
public function __construct(array $userData, string $destination, string $ipAddress, array $exceptionData)
{
@@ -70,6 +70,7 @@ class MailError extends Job implements ShouldQueue
/**
* Execute the job.
*
* @throws FireflyException
*/
public function handle()
@@ -91,7 +92,7 @@ class MailError extends Job implements ShouldQueue
}
}
);
} catch (Exception|TransportException $e) { // intentional generic exception
} catch (Exception | TransportException $e) { // intentional generic exception
$message = $e->getMessage();
if (str_contains($message, 'Bcc')) {
Log::warning('[Bcc] Could not email or log the error. Please validate your email settings, use the .env.example file as a guide.');