File tree 1 file changed +2
-2
lines changed
src/Symfony/Component/DomCrawler
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ public function children(/* string $selector = null */)
517
517
}
518
518
519
519
if (null !== $ selector ) {
520
- $ converter = $ this ->createCssSelectorConverter ($ this -> isHtml );
520
+ $ converter = $ this ->createCssSelectorConverter ();
521
521
$ xpath = $ converter ->toXPath ($ selector , 'child:: ' );
522
522
523
523
return $ this ->filterRelativeXPath ($ xpath );
@@ -703,7 +703,7 @@ public function filterXPath($xpath)
703
703
*/
704
704
public function filter ($ selector )
705
705
{
706
- $ converter = $ this ->createCssSelectorConverter ($ this -> isHtml );
706
+ $ converter = $ this ->createCssSelectorConverter ();
707
707
708
708
// The CssSelector already prefixes the selector with descendant-or-self::
709
709
return $ this ->filterRelativeXPath ($ converter ->toXPath ($ selector ));
You can’t perform that action at this time.
0 commit comments