mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
More PHP8.4 updates
This commit is contained in:
@@ -38,21 +38,12 @@ class MailError extends Job implements ShouldQueue
|
||||
use InteractsWithQueue;
|
||||
use SerializesModels;
|
||||
|
||||
protected string $destination;
|
||||
protected array $exception;
|
||||
protected string $ipAddress;
|
||||
protected array $userData;
|
||||
|
||||
/**
|
||||
* MailError constructor.
|
||||
*/
|
||||
public function __construct(array $userData, string $destination, string $ipAddress, array $exceptionData)
|
||||
public function __construct(protected array $userData, protected string $destination, protected string $ipAddress, protected array $exception)
|
||||
{
|
||||
$this->userData = $userData;
|
||||
$this->destination = $destination;
|
||||
$this->ipAddress = $ipAddress;
|
||||
$this->exception = $exceptionData;
|
||||
$debug = $exceptionData;
|
||||
$debug = $this->exception;
|
||||
unset($debug['stackTrace'], $debug['headers']);
|
||||
|
||||
app('log')->error(sprintf('Exception is: %s', \Safe\json_encode($debug)));
|
||||
|
Reference in New Issue
Block a user