We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da53d26 commit 659e181Copy full SHA for 659e181
code/Model/Recipient/EmailRecipient.php
@@ -575,6 +575,7 @@ public function validate()
575
foreach ($addresses as $address) {
576
$trimAddress = trim($address ?? '');
577
if ($trimAddress && !Email::is_valid_address($trimAddress)) {
578
+ /** @phpstan-ignore translation.key (can't simplify the key without lots of duplicated code) */
579
$error = _t(
580
__CLASS__.".$translation",
581
"Invalid email address $trimAddress"
0 commit comments