@@ -139,6 +139,9 @@ discard block |
||
| 139 | 139 | return $this->parseContents($remainingHtml); |
| 140 | 140 | } |
| 141 | 141 | |
| 142 | + /** |
|
| 143 | + * @param string $html |
|
| 144 | + */ |
|
| 142 | 145 | private function parseAttribute($html) |
| 143 | 146 | { |
| 144 | 147 | // Will match the first entire name/value attribute pair. |
@@ -180,6 +183,9 @@ discard block |
||
| 180 | 183 | return substr($html, $posOfAttribute + strlen($attributeMatches[2])); |
| 181 | 184 | } |
| 182 | 185 | |
| 186 | + /** |
|
| 187 | + * @param string $html |
|
| 188 | + */ |
|
| 183 | 189 | private function parseContents($html) |
| 184 | 190 | { |
| 185 | 191 | $remainingHtml = trim($html); |
@@ -212,7 +218,7 @@ discard block |
||
| 212 | 218 | /** |
| 213 | 219 | * Will get the element name from the html string. |
| 214 | 220 | * |
| 215 | - * @param $html string |
|
| 221 | + * @param string $html string |
|
| 216 | 222 | * |
| 217 | 223 | * @return string The element name. |
| 218 | 224 | */ |