@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | /** |
| 326 | 326 | * Set the HTML contents of each element |
| 327 | 327 | * |
| 328 | - * @param string|HtmlPageCrawler|\DOMNode|\DOMNodeList $content HTML code fragment |
|
| 328 | + * @param string $content HTML code fragment |
|
| 329 | 329 | * @return HtmlPageCrawler $this for chaining |
| 330 | 330 | * @api |
| 331 | 331 | */ |
@@ -934,6 +934,9 @@ discard block |
||
| 934 | 934 | } |
| 935 | 935 | } |
| 936 | 936 | |
| 937 | + /** |
|
| 938 | + * @param string $content |
|
| 939 | + */ |
|
| 937 | 940 | public function addHtmlFragment($content, $charset = 'UTF-8') |
| 938 | 941 | { |
| 939 | 942 | $d = new \DOMDocument('1.0', $charset); |