Completed
Pull Request — master (#6)
by Patrick
03:09
created
Serialize/class.ExcelSerializer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 namespace Serialize;
3 3
 
4
-require_once dirname(__FILE__) . '/../libs/PHPExcel/Classes/PHPExcel.php';
4
+require_once dirname(__FILE__).'/../libs/PHPExcel/Classes/PHPExcel.php';
5 5
 
6 6
 class ExcelSerializer extends SpreadSheetSerializer
7 7
 {
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
             for($j = 0; $j < $colCount; $j++)
33 33
             {
34 34
                 $colName = $keys[$j];
35
-                $sheat->setCellValueByColumnAndRow($j, 2+$i, $data[$i][$j]);
35
+                $sheat->setCellValueByColumnAndRow($j, 2 + $i, $data[$i][$j]);
36 36
             }
37 37
         }
38 38
         if(strcasecmp($type, 'xlsx') === 0 || strcasecmp($type, 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet') === 0)
Please login to merge, or discard this patch.
Auth/class.Group.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
         return true;
106 106
     }
107 107
 
108
-    static function from_name($name, $data=false)
108
+    static function from_name($name, $data = false)
109 109
     {
110 110
         return false;
111 111
     }
Please login to merge, or discard this patch.
Braces   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,10 @@
 block discarded – undo
90 90
                 {
91 91
                     $isLast = true;
92 92
                 }
93
-                if(!isset($group->member[$i]->type)) continue;
93
+                if(!isset($group->member[$i]->type))
94
+                {
95
+                    continue;
96
+                }
94 97
                 if($group->member[$i]->type === 'Group')
95 98
                 {
96 99
                     $this->addMember($group->member[$i]->cn, true, $isLast);
Please login to merge, or discard this patch.