Completed
Pull Request — master (#16)
by Patrick
07:44
created
Email/class.SMTPServer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     {
33 33
     }
34 34
 
35
-    public function connect($hostName, $port=25, $useTLS=true)
35
+    public function connect($hostName, $port = 25, $useTLS = true)
36 36
     {
37 37
         $ret = $this->smtp->connect($hostName, $port);
38 38
         if($ret === false)
Please login to merge, or discard this patch.
Email/class.EmailRouter.php 1 patch
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,10 @@
 block discarded – undo
41 41
         {
42 42
             $tmp = $this->routeSingle($dest, $rawMessage);
43 43
             $ret[] = $tmp;
44
-            if($tmp === false) $error = true;
44
+            if($tmp === false)
45
+            {
46
+                $error = true;
47
+            }
45 48
         }
46 49
         if($error === true)
47 50
         {
Please login to merge, or discard this patch.
class.FlipREST.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
 
180 180
     private function create_excel(&$array)
181 181
     {
182
-        require_once dirname(__FILE__) . '/libs/PHPExcel/Classes/PHPExcel.php';
182
+        require_once dirname(__FILE__).'/libs/PHPExcel/Classes/PHPExcel.php';
183 183
         $ssheat = new PHPExcel();
184 184
         $sheat = $ssheat->setActiveSheetIndex(0);
185 185
         if(is_array($array))
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
                         {
229 229
                             $value = implode(',', $value);
230 230
                         }
231
-                        $sheat->setCellValueByColumnAndRow($j, 2+$i, $value);
231
+                        $sheat->setCellValueByColumnAndRow($j, 2 + $i, $value);
232 232
                     }
233 233
                 }
234 234
             }
Please login to merge, or discard this patch.