update 1.0.8.0
Commits for version update
This commit is contained in:
5
vendor/symfony/dom-crawler/Crawler.php
vendored
5
vendor/symfony/dom-crawler/Crawler.php
vendored
@@ -337,7 +337,7 @@ class Crawler implements \Countable, \IteratorAggregate
|
||||
*
|
||||
* @param int $position The position
|
||||
*
|
||||
* @return Crawler A new instance of the Crawler with the selected node, or an empty Crawler if it does not exist.
|
||||
* @return Crawler A new instance of the Crawler with the selected node, or an empty Crawler if it does not exist
|
||||
*/
|
||||
public function eq($position)
|
||||
{
|
||||
@@ -394,7 +394,7 @@ class Crawler implements \Countable, \IteratorAggregate
|
||||
*
|
||||
* @param \Closure $closure An anonymous function
|
||||
*
|
||||
* @return Crawler A Crawler instance with the selected nodes.
|
||||
* @return Crawler A Crawler instance with the selected nodes
|
||||
*/
|
||||
public function reduce(\Closure $closure)
|
||||
{
|
||||
@@ -1105,6 +1105,7 @@ class Crawler implements \Countable, \IteratorAggregate
|
||||
$crawler = new static($nodes, $this->uri, $this->baseHref);
|
||||
$crawler->isHtml = $this->isHtml;
|
||||
$crawler->document = $this->document;
|
||||
$crawler->namespaces = $this->namespaces;
|
||||
|
||||
return $crawler;
|
||||
}
|
||||
|
Reference in New Issue
Block a user