mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 22:21:42 +00:00
Various code cleanup.
This commit is contained in:
@@ -39,14 +39,10 @@ class MailError extends Job implements ShouldQueue
|
||||
{
|
||||
use InteractsWithQueue, SerializesModels;
|
||||
|
||||
/** @var string Destination */
|
||||
protected $destination;
|
||||
/** @var array Exception information */
|
||||
protected $exception;
|
||||
/** @var string IP address */
|
||||
protected $ipAddress;
|
||||
/** @var array User information */
|
||||
protected $userData;
|
||||
protected string $destination;
|
||||
protected array $exception;
|
||||
protected string $ipAddress;
|
||||
protected array $userData;
|
||||
|
||||
/**
|
||||
* MailError constructor.
|
||||
@@ -89,7 +85,7 @@ class MailError extends Job implements ShouldQueue
|
||||
}
|
||||
}
|
||||
);
|
||||
} catch (Exception $e) {
|
||||
} catch (Exception $e) { // @phpstan-ignore-line
|
||||
Log::error('Exception when mailing: ' . $e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user