Continue improving type hints

This commit is contained in:
Alex Cabal 2024-05-10 22:28:24 -05:00
parent eb376c87bd
commit 703e1a7a03
73 changed files with 98 additions and 114 deletions

View file

@ -2,9 +2,6 @@
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
/**
* @property array<array<string>> $Attachments
*/
class Email{
public string $To = '';
public string $ToName = '';
@ -14,6 +11,7 @@ class Email{
public string $Subject = '';
public string $Body = '';
public string $TextBody = '';
/** @var array<array<string>> $Attachments */
public $Attachments = [];
public ?string $PostmarkStream = null;