Make email messages Markdown.

This commit is contained in:
James Cole
2022-03-29 12:45:48 +02:00
parent 9c19a08b17
commit 09bd0b572a
71 changed files with 747 additions and 555 deletions

View File

@@ -36,14 +36,9 @@ class UserChangedEmail extends Event
{
use SerializesModels;
/** @var string The user's IP address */
public $ipAddress;
/** @var string The user's new email address */
public $newEmail;
/** @var string The user's old email address */
public $oldEmail;
/** @var User The user itself */
public $user;
public string $newEmail;
public string $oldEmail;
public User $user;
/**
* UserChangedEmail constructor.
@@ -51,12 +46,10 @@ class UserChangedEmail extends Event
* @param User $user
* @param string $newEmail
* @param string $oldEmail
* @param string $ipAddress
*/
public function __construct(User $user, string $newEmail, string $oldEmail, string $ipAddress)
public function __construct(User $user, string $newEmail, string $oldEmail)
{
$this->user = $user;
$this->ipAddress = $ipAddress;
$this->oldEmail = $oldEmail;
$this->newEmail = $newEmail;
}