Various code cleanup.

This commit is contained in:
James Cole
2021-04-07 07:28:43 +02:00
parent 4ddcb0c965
commit f12744ad8c
180 changed files with 714 additions and 721 deletions

View File

@@ -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());
}
}