@@ -92,6 +92,9 @@ |
||
| 92 | 92 | return $columns; |
| 93 | 93 | } |
| 94 | 94 | |
| 95 | + /** |
|
| 96 | + * @param string $line |
|
| 97 | + */ |
|
| 95 | 98 | private function parseRow($line, array $columns, $type = TableCell::TYPE_BODY) |
| 96 | 99 | { |
| 97 | 100 | $cells = RegexHelper::matchAll(self::REGEXP_CELLS, $line); |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | return false; |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | - $table = new Table(function (Cursor $cursor) use (&$table, $columns) { |
|
| 49 | + $table = new Table(function(Cursor $cursor) use (&$table, $columns) { |
|
| 50 | 50 | $row = $this->parseRow($cursor->getLine(), $columns); |
| 51 | 51 | if (null === $row) { |
| 52 | 52 | return false; |