@@ -54,7 +54,7 @@ discard block |
||
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 |
||
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 | "/,(?=(?:[^\']*\'[^\']*\')*(?![^\']*\'))/", |