| @@ -68,6 +68,9 @@ discard block | ||
| 68 | 68 | return $this->consumeList($lines, $current, $block, 'ul'); | 
| 69 | 69 | } | 
| 70 | 70 | |
| 71 | + /** | |
| 72 | + * @param string $type | |
| 73 | + */ | |
| 71 | 74 | private function consumeList($lines, $current, $block, $type) | 
| 72 | 75 |  	{ | 
| 73 | 76 | $item = 0; | 
| @@ -191,7 +194,15 @@ discard block | ||
| 191 | 194 | } | 
| 192 | 195 | |
| 193 | 196 | abstract protected function parseBlocks($lines); | 
| 197 | + | |
| 198 | + /** | |
| 199 | + * @param string $text | |
| 200 | + */ | |
| 194 | 201 | abstract protected function parseInline($text); | 
| 195 | 202 | abstract protected function renderAbsy($absy); | 
| 203 | + | |
| 204 | + /** | |
| 205 | + * @param integer $current | |
| 206 | + */ | |
| 196 | 207 | abstract protected function detectLineType($lines, $current); | 
| 197 | 208 | } | 
| @@ -44,7 +44,7 @@ | ||
| 44 | 44 | |
| 45 | 45 | /** | 
| 46 | 46 | * Remove backslash from escaped characters | 
| 47 | - * @param $text | |
| 47 | + * @param string $text | |
| 48 | 48 | * @return string | 
| 49 | 49 | */ | 
| 50 | 50 | protected function replaceEscape($text) | 
| @@ -128,6 +128,13 @@ | ||
| 128 | 128 | return [['text', $markdown[0]], 1]; | 
| 129 | 129 | } | 
| 130 | 130 | |
| 131 | + /** | |
| 132 | + * @param string $text | |
| 133 | + */ | |
| 131 | 134 | abstract protected function parseInline($text); | 
| 135 | + | |
| 136 | + /** | |
| 137 | + * @return string | |
| 138 | + */ | |
| 132 | 139 | abstract protected function renderAbsy($absy); | 
| 133 | 140 | } |