Completed
Push — master ( 0273ce...23f983 )
by Martin
03:10
created
src/TableParser.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@  discard block
 block discarded – undo
104 104
         return $columns;
105 105
     }
106 106
 
107
+    /**
108
+     * @param string $line
109
+     */
107 110
     private function parseRow($line, array $columns, $type = TableCell::TYPE_BODY)
108 111
     {
109 112
         $cells = RegexHelper::matchAll(self::REGEXP_CELLS, $line);
@@ -123,6 +126,9 @@  discard block
 block discarded – undo
123 126
         return $row;
124 127
     }
125 128
 
129
+    /**
130
+     * @param string $line
131
+     */
126 132
     private function parseCaption($line)
127 133
     {
128 134
         $caption = RegexHelper::matchAll(self::REGEXP_CAPTION, $line);
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             return false;
49 49
         }
50 50
 
51
-        $table = new Table(function (Cursor $cursor) use (&$table, $columns) {
51
+        $table = new Table(function(Cursor $cursor) use (&$table, $columns) {
52 52
             $row = $this->parseRow($cursor->getLine(), $columns);
53 53
             if (null === $row) {
54 54
                 if (null !== $table->getCaption()) {
Please login to merge, or discard this patch.