@@ -963,6 +963,9 @@ discard block |
||
| 963 | 963 | } |
| 964 | 964 | } |
| 965 | 965 | |
| 966 | + /** |
|
| 967 | + * @param string $content |
|
| 968 | + */ |
|
| 966 | 969 | public function addHtmlFragment($content, $charset = 'UTF-8') |
| 967 | 970 | { |
| 968 | 971 | $d = new \DOMDocument('1.0', $charset); |
@@ -995,7 +998,7 @@ discard block |
||
| 995 | 998 | * overridden from Crawler because it is not public in Symfony 2.3 |
| 996 | 999 | * TODO: throw away as soon as we don't need to support SF 2.3 any more |
| 997 | 1000 | * |
| 998 | - * @return \DOMElement|null |
|
| 1001 | + * @return \DOMNode |
|
| 999 | 1002 | */ |
| 1000 | 1003 | public function getNode($position) |
| 1001 | 1004 | { |