Skip to content

Commit 2868403

Browse files
committed
fix for Issue #25434 Mail address email constructor argument type incorrect
1 parent d6ef3ef commit 2868403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Mail/Address.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Address
2929
* @param string|null $name
3030
*/
3131
public function __construct(
32-
?string $email,
32+
string $email,
3333
?string $name
3434
) {
3535
$this->email = $email;

0 commit comments

Comments
 (0)