Skip to content

Commit f5e799a

Browse files
Remove useless docblocks
1 parent fe3a1de commit f5e799a

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
/**
@@ -41,14 +38,14 @@ class Crawler extends \SplObjectStorage
4138
private $baseHref;
4239

4340
/**
44-
* @param mixed $node A Node to use as the base for the crawling
45-
* @param string $currentUri The current URI
46-
* @param string $baseHref The base href value
41+
* @param mixed $node A Node to use as the base for the crawling
42+
* @param string $uri The current URI
43+
* @param string $baseHref The base href value
4744
*/
48-
public function __construct($node = null, $currentUri = null, $baseHref = null)
45+
public function __construct($node = null, $uri = null, $baseHref = null)
4946
{
50-
$this->uri = $currentUri;
51-
$this->baseHref = $baseHref ?: $currentUri;
47+
$this->uri = $uri;
48+
$this->baseHref = $baseHref ?: $uri;
5249

5350
$this->add($node);
5451
}

0 commit comments

Comments
 (0)