Passed
Push — master ( d72939...e4fca8 )
by luo
02:18
created
libs/Mail.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,9 @@
 block discarded – undo
132 132
 
133 133
         self::mail()->msgHTML($message, APP_PATH . '/mail');
134 134
 
135
-        if (!self::mail()->send()) throw new MailException(self::mail()->ErrorInfo);
135
+        if (!self::mail()->send()) {
136
+            throw new MailException(self::mail()->ErrorInfo);
137
+        }
136 138
 
137 139
         return true;
138 140
     }
Please login to merge, or discard this patch.