Completed
Push — develop ( 18ee8c...489265 )
by Patrick
09:31 queued 06:48
created
Email/class.AmazonSES.php 1 patch
Braces   +10 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,9 +40,12 @@  discard block
 block discarded – undo
40 40
             $args = array();
41 41
             $args['RawMessage'] = array();
42 42
             $args['RawMessage']['Data'] = base64_encode($email->getRawMessage());
43
-            try {
43
+            try
44
+            {
44 45
                 return $this->ses->sendRawEmail($args);
45
-            } catch(\Exception $e) {
46
+            }
47
+            catch(\Exception $e)
48
+            {
46 49
                 return false;
47 50
             }
48 51
         }
@@ -63,9 +66,12 @@  discard block
 block discarded – undo
63 66
             $args['Message']['Body']['Text']['Data'] = $email->getTextBody();
64 67
             $args['Message']['Body']['Html']['Data'] = $email->getHtmlBody();
65 68
             $args['ReplyToAddresses'] = array($email->getReplyTo());
66
-            try {
69
+            try
70
+            {
67 71
                 return $this->ses->sendEmail($args);
68
-            } catch(\Exception $e) {
72
+            }
73
+            catch(\Exception $e)
74
+            {
69 75
                 return false;
70 76
             }
71 77
         }
Please login to merge, or discard this patch.
class.FlipREST.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
         {
202 202
             if(is_object($data))
203 203
             {
204
-               $data = get_object_vars($data);
204
+                $data = get_object_vars($data);
205 205
             }
206 206
 
207 207
             if(is_array($data))
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@
 block discarded – undo
177 177
         return ob_get_clean();
178 178
     }
179 179
 
180
-    private function collapseEntityToArray($entity, &$array, $keyPrefix='')
180
+    private function collapseEntityToArray($entity, &$array, $keyPrefix = '')
181 181
     {
182 182
         if(array_keys($entity) === range(0, count($entity) - 1))
183 183
         {
Please login to merge, or discard this patch.