Skip to content

Commit 659e181

Browse files
MNT Ignore phpstan error we can't fix (#1316)
1 parent da53d26 commit 659e181

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/Model/Recipient/EmailRecipient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ public function validate()
575575
foreach ($addresses as $address) {
576576
$trimAddress = trim($address ?? '');
577577
if ($trimAddress && !Email::is_valid_address($trimAddress)) {
578+
/** @phpstan-ignore translation.key (can't simplify the key without lots of duplicated code) */
578579
$error = _t(
579580
__CLASS__.".$translation",
580581
"Invalid email address $trimAddress"

0 commit comments

Comments
 (0)