File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
lib/internal/Magento/Framework/Mail Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 8
8
namespace Magento \Framework \Mail ;
9
9
10
10
/**
11
- * Class MailAddress
11
+ * Class Address
12
12
*/
13
13
class Address
14
14
{
@@ -23,13 +23,13 @@ class Address
23
23
private $ email ;
24
24
25
25
/**
26
- * MailAddress constructor
26
+ * Address constructor
27
27
*
28
28
* @param string|null $email
29
29
* @param string|null $name
30
30
*/
31
31
public function __construct (
32
- string $ email ,
32
+ ? string $ email ,
33
33
?string $ name
34
34
) {
35
35
$ this ->email = $ email ;
@@ -49,9 +49,9 @@ public function getName(): ?string
49
49
/**
50
50
* Email getter
51
51
*
52
- * @return string
52
+ * @return string|null
53
53
*/
54
- public function getEmail (): string
54
+ public function getEmail (): ? string
55
55
{
56
56
return $ this ->email ;
57
57
}
You can’t perform that action at this time.
0 commit comments