@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * |
53 | 53 | * @see withFrom() |
54 | 54 | */ |
55 | - public function getFrom(): array|string; |
|
55 | + public function getFrom(): array | string; |
|
56 | 56 | |
57 | 57 | /** |
58 | 58 | * Returns a new instance with the specified sender email address. |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | * This method MUST be implemented in such a way as to retain the immutability of the message, |
66 | 66 | * and MUST return an instance that has the new sender email address. |
67 | 67 | */ |
68 | - public function withFrom(array|string $from): self; |
|
68 | + public function withFrom(array | string $from): self; |
|
69 | 69 | |
70 | 70 | /** |
71 | 71 | * Returns the message recipient(s) email address. |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | * |
75 | 75 | * @see withTo() |
76 | 76 | */ |
77 | - public function getTo(): array|string; |
|
77 | + public function getTo(): array | string; |
|
78 | 78 | |
79 | 79 | /** |
80 | 80 | * Returns a new instance with the specified recipient(s) email address. |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | * This method MUST be implemented in such a way as to retain the immutability of the message, |
88 | 88 | * and MUST return an instance that has the new recipients email address. |
89 | 89 | */ |
90 | - public function withTo(array|string $to): self; |
|
90 | + public function withTo(array | string $to): self; |
|
91 | 91 | |
92 | 92 | /** |
93 | 93 | * Returns the reply-to address of this message. |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | * |
97 | 97 | * @see withReplyTo() |
98 | 98 | */ |
99 | - public function getReplyTo(): array|string; |
|
99 | + public function getReplyTo(): array | string; |
|
100 | 100 | |
101 | 101 | /** |
102 | 102 | * Returns a new instance with the specified reply-to address. |
@@ -109,7 +109,7 @@ discard block |
||
109 | 109 | * This method MUST be implemented in such a way as to retain the immutability of the message, |
110 | 110 | * and MUST return an instance that has the new reply-to address. |
111 | 111 | */ |
112 | - public function withReplyTo(array|string $replyTo): self; |
|
112 | + public function withReplyTo(array | string $replyTo): self; |
|
113 | 113 | |
114 | 114 | /** |
115 | 115 | * Returns the Cc (additional copy receiver) addresses of this message. |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * |
119 | 119 | * @see withCc() |
120 | 120 | */ |
121 | - public function getCc(): array|string; |
|
121 | + public function getCc(): array | string; |
|
122 | 122 | |
123 | 123 | /** |
124 | 124 | * Returns a new instance with the specified Cc (additional copy receiver) addresses. |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | * This method MUST be implemented in such a way as to retain the immutability of the message, |
132 | 132 | * and MUST return an instance that has the new Cc (additional copy receiver) addresses. |
133 | 133 | */ |
134 | - public function withCc(array|string $cc): self; |
|
134 | + public function withCc(array | string $cc): self; |
|
135 | 135 | |
136 | 136 | /** |
137 | 137 | * Returns the Bcc (hidden copy receiver) addresses of this message. |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | * |
141 | 141 | * @see withBcc() |
142 | 142 | */ |
143 | - public function getBcc(): array|string; |
|
143 | + public function getBcc(): array | string; |
|
144 | 144 | |
145 | 145 | /** |
146 | 146 | * Returns a new instance with the specified Bcc (hidden copy receiver) addresses. |
@@ -153,7 +153,7 @@ discard block |
||
153 | 153 | * This method MUST be implemented in such a way as to retain the immutability of the message, |
154 | 154 | * and MUST return an instance that has the new Bcc (hidden copy receiver) addresses. |
155 | 155 | */ |
156 | - public function withBcc(array|string $bcc): self; |
|
156 | + public function withBcc(array | string $bcc): self; |
|
157 | 157 | |
158 | 158 | /** |
159 | 159 | * Returns the message subject. |
@@ -329,7 +329,7 @@ discard block |
||
329 | 329 | * This method MUST be implemented in such a way as to retain the immutability of the message, |
330 | 330 | * and MUST return an instance that has the new custom header value. |
331 | 331 | */ |
332 | - public function withHeader(string $name, string|array $value): self; |
|
332 | + public function withHeader(string $name, string | array $value): self; |
|
333 | 333 | |
334 | 334 | /** |
335 | 335 | * Returns a new instance with the specified custom header values. |
@@ -8,7 +8,7 @@ |
||
8 | 8 | use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; |
9 | 9 | use Rector\Set\ValueObject\LevelSetList; |
10 | 10 | |
11 | -return static function (RectorConfig $rectorConfig): void { |
|
11 | +return static function(RectorConfig $rectorConfig): void { |
|
12 | 12 | $rectorConfig->paths([ |
13 | 13 | __DIR__ . '/src', |
14 | 14 | __DIR__ . '/tests', |