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

Skip to content

Commit 3441dba

Browse files
mvdbosfabpot
authored andcommitted
fixed ticket 7210
1 parent 6b6ccbb commit 3441dba

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.
@@ -704,7 +704,7 @@ public static function xpathLiteral($s)
704704
return sprintf("concat(%s)", implode($parts, ', '));
705705
}
706706

707-
private function getNode($position)
707+
protected function getNode($position)
708708
{
709709
foreach ($this as $i => $node) {
710710
if ($i == $position) {
@@ -717,7 +717,7 @@ private function getNode($position)
717717
// @codeCoverageIgnoreEnd
718718
}
719719

720-
private function sibling($node, $siblingDir = 'nextSibling')
720+
protected function sibling($node, $siblingDir = 'nextSibling')
721721
{
722722
$nodes = array();
723723

0 commit comments

Comments
 (0)