@@ -51,6 +51,9 @@ |
||
51 | 51 | ]; |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $etag |
|
56 | + */ |
|
54 | 57 | private function __construct( |
55 | 58 | ?string $etag = null, |
56 | 59 | string $defaultRefundToLocation, |
@@ -66,7 +66,7 @@ |
||
66 | 66 | private function validateEmailAddress($emailReceiver): void |
67 | 67 | { |
68 | 68 | if (!filter_var($emailReceiver, FILTER_VALIDATE_EMAIL)) { |
69 | - throw new EmailAddressNotValidException(sprintf('\'%s\' is not a valid email address', $emailReceiver)); |
|
69 | + throw new EmailAddressNotValidException(sprintf('\'%s\' is not a valid email address', $emailReceiver)); |
|
70 | 70 | } |
71 | 71 | } |
72 | 72 | } |