Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 41abfd8

Browse files
committed
[DomCrawler] fixed ticket 7210
1 parent 83382bc commit 41abfd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/DomCrawler/Crawler.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Crawler extends \SplObjectStorage
2525
/**
2626
* @var string The current URI or the base href value
2727
*/
28-
private $uri;
28+
protected $uri;
2929

3030
/**
3131
* Constructor.
@@ -702,7 +702,7 @@ public static function xpathLiteral($s)
702702
return sprintf("concat(%s)", implode($parts, ', '));
703703
}
704704

705-
private function getNode($position)
705+
protected function getNode($position)
706706
{
707707
foreach ($this as $i => $node) {
708708
if ($i == $position) {
@@ -715,7 +715,7 @@ private function getNode($position)
715715
// @codeCoverageIgnoreEnd
716716
}
717717

718-
private function sibling($node, $siblingDir = 'nextSibling')
718+
protected function sibling($node, $siblingDir = 'nextSibling')
719719
{
720720
$nodes = array();
721721

0 commit comments

Comments
 (0)