@@ -159,10 +159,10 @@ |
||
159 | 159 | public function setEncryption(?string $encryption): self |
160 | 160 | { |
161 | 161 | if ($encryption === static::ENCRYPTION_NONE) { |
162 | - $encryption = null; |
|
163 | - } |
|
162 | + $encryption = null; |
|
163 | + } |
|
164 | 164 | |
165 | - if (in_array($encryption, [null, static::ENCRYPTION_SSL, static::ENCRYPTION_TLS], true)) { |
|
165 | + if (in_array($encryption, [null, static::ENCRYPTION_SSL, static::ENCRYPTION_TLS], true)) { |
|
166 | 166 | $this->encryption = $encryption; |
167 | 167 | } |
168 | 168 |
@@ -164,9 +164,9 @@ |
||
164 | 164 | */ |
165 | 165 | public function setEncryption(?string $encryption): self |
166 | 166 | { |
167 | - if ($encryption === static::ENCRYPTION_NONE) { |
|
168 | - $encryption = null; |
|
169 | - } |
|
167 | + if ($encryption === static::ENCRYPTION_NONE) { |
|
168 | + $encryption = null; |
|
169 | + } |
|
170 | 170 | |
171 | 171 | if (in_array($encryption, [null, static::ENCRYPTION_SSL, static::ENCRYPTION_TLS], true)) { |
172 | 172 | $this->mailer->SMTPSecure = $encryption; |
@@ -233,7 +233,7 @@ |
||
233 | 233 | $file = $this->locator->locateFile($view, 'Views', empty($ext) ? 'php' : $ext); |
234 | 234 | } |
235 | 235 | |
236 | - $file = realpath($file); |
|
236 | + $file = realpath($file); |
|
237 | 237 | |
238 | 238 | // locateFile renverra une chaîne vide si le fichier est introuvable. |
239 | 239 | if (! is_file($file)) { |