Completed
Push — master ( f6e3bc...74c948 )
by Florian
08:49
created
src/Reader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 } else if (strcasecmp($type, 'numeric') === 0) {
55 55
                     $column = new NumericColumn($matches[1]);
56 56
                 } else if (preg_match('/^\{(.*)\}$/', $matches[2], $classMatches)) {
57
-                    $column = new NominalColumn($matches[1], array_map(function ($value) {
57
+                    $column = new NominalColumn($matches[1], array_map(function($value) {
58 58
                         return trim($value, "'");
59 59
                     }, preg_split(
60 60
                             "/,(?=(?:[^\']*\'[^\']*\')*(?![^\']*\'))/",
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
         }
85 85
         $columns     = $document->getColumns();
86 86
         $columnNames = array_keys($columns);
87
-        for ($i = $index+1; $i < count($lines); $i += 1) {
87
+        for ($i = $index + 1; $i < count($lines); $i += 1) {
88 88
             $row    = [];
89 89
             $splits = preg_split(
90 90
                 "/,(?=(?:[^\']*\'[^\']*\')*(?![^\']*\'))/",
Please login to merge, or discard this patch.