Passed
Pull Request — master (#13)
by
unknown
01:32
created
index.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -365,7 +365,9 @@
 block discarded – undo
365 365
         }
366 366
         $mail->msgHTML($message, __DIR__ . '/mail');
367 367
 
368
-        if (!$mail->send()) throw new \Exception($mail->ErrorInfo);
368
+        if (!$mail->send()) {
369
+            throw new \Exception($mail->ErrorInfo);
370
+        }
369 371
     }
370 372
     
371 373
     public function sendTelegram($text)
Please login to merge, or discard this patch.