Skip to content

Commit eeb7809

Browse files
Merge branch '2.7' into 2.8
* 2.7: [Intl] Make intl-data tests pass and save language aliases again Remove useless docblocks
2 parents 99e1504 + f5e799a commit eeb7809

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

Crawler.php

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@
2020
*/
2121
class Crawler extends \SplObjectStorage
2222
{
23-
/**
24-
* @var string The current URI
25-
*/
2623
protected $uri;
2724

2825
/**
@@ -53,14 +50,14 @@ class Crawler extends \SplObjectStorage
5350
private $isHtml = true;
5451

5552
/**
56-
* @param mixed $node A Node to use as the base for the crawling
57-
* @param string $currentUri The current URI
58-
* @param string $baseHref The base href value
53+
* @param mixed $node A Node to use as the base for the crawling
54+
* @param string $uri The current URI
55+
* @param string $baseHref The base href value
5956
*/
60-
public function __construct($node = null, $currentUri = null, $baseHref = null)
57+
public function __construct($node = null, $uri = null, $baseHref = null)
6158
{
62-
$this->uri = $currentUri;
63-
$this->baseHref = $baseHref ?: $currentUri;
59+
$this->uri = $uri;
60+
$this->baseHref = $baseHref ?: $uri;
6461

6562
$this->add($node);
6663
}

0 commit comments

Comments
 (0)