Completed
Push — master ( 91c7f9...9fd6a9 )
by Rafael
02:23
created
Spool/DatabaseSpool.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,10 +112,10 @@
 block discarded – undo
112 112
                 $count+= $transport->send($message, $failedRecipients);
113 113
                 if($count > 0){
114 114
                     $this->repository->markCompleteSending($email);
115
-                }else{
115
+                } else{
116 116
                     throw new \Swift_SwiftException('The email was not sent.');
117 117
                 }
118
-            }catch(\Swift_SwiftException $ex){
118
+            } catch(\Swift_SwiftException $ex){
119 119
                 $this->repository->markFailedSending($email, $ex);
120 120
             }
121 121
         }
Please login to merge, or discard this patch.