@@ -334,7 +334,7 @@ public function addNode(\DOMNode $node)
334
334
*
335
335
* @param int $position The position
336
336
*
337
- * @return self
337
+ * @return static
338
338
*/
339
339
public function eq ($ position )
340
340
{
@@ -377,7 +377,7 @@ public function each(\Closure $closure)
377
377
* @param int $offset
378
378
* @param int $length
379
379
*
380
- * @return self
380
+ * @return static
381
381
*/
382
382
public function slice ($ offset = 0 , $ length = null )
383
383
{
@@ -391,7 +391,7 @@ public function slice($offset = 0, $length = null)
391
391
*
392
392
* @param \Closure $closure An anonymous function
393
393
*
394
- * @return self
394
+ * @return static
395
395
*/
396
396
public function reduce (\Closure $ closure )
397
397
{
@@ -408,7 +408,7 @@ public function reduce(\Closure $closure)
408
408
/**
409
409
* Returns the first node of the current selection.
410
410
*
411
- * @return self
411
+ * @return static
412
412
*/
413
413
public function first ()
414
414
{
@@ -418,7 +418,7 @@ public function first()
418
418
/**
419
419
* Returns the last node of the current selection.
420
420
*
421
- * @return self
421
+ * @return static
422
422
*/
423
423
public function last ()
424
424
{
@@ -428,7 +428,7 @@ public function last()
428
428
/**
429
429
* Returns the siblings nodes of the current selection.
430
430
*
431
- * @return self
431
+ * @return static
432
432
*
433
433
* @throws \InvalidArgumentException When current node is empty
434
434
*/
@@ -444,7 +444,7 @@ public function siblings()
444
444
/**
445
445
* Returns the next siblings nodes of the current selection.
446
446
*
447
- * @return self
447
+ * @return static
448
448
*
449
449
* @throws \InvalidArgumentException When current node is empty
450
450
*/
@@ -460,7 +460,7 @@ public function nextAll()
460
460
/**
461
461
* Returns the previous sibling nodes of the current selection.
462
462
*
463
- * @return self
463
+ * @return static
464
464
*
465
465
* @throws \InvalidArgumentException
466
466
*/
@@ -476,7 +476,7 @@ public function previousAll()
476
476
/**
477
477
* Returns the parents nodes of the current selection.
478
478
*
479
- * @return self
479
+ * @return static
480
480
*
481
481
* @throws \InvalidArgumentException When current node is empty
482
482
*/
@@ -501,7 +501,7 @@ public function parents()
501
501
/**
502
502
* Returns the children nodes of the current selection.
503
503
*
504
- * @return self
504
+ * @return static
505
505
*
506
506
* @throws \InvalidArgumentException When current node is empty
507
507
*/
@@ -664,7 +664,7 @@ public function extract($attributes)
664
664
*
665
665
* @param string $xpath An XPath expression
666
666
*
667
- * @return self
667
+ * @return static
668
668
*/
669
669
public function filterXPath ($ xpath )
670
670
{
@@ -685,7 +685,7 @@ public function filterXPath($xpath)
685
685
*
686
686
* @param string $selector A CSS selector
687
687
*
688
- * @return self
688
+ * @return static
689
689
*
690
690
* @throws \RuntimeException if the CssSelector Component is not available
691
691
*/
@@ -706,7 +706,7 @@ public function filter($selector)
706
706
*
707
707
* @param string $value The link text
708
708
*
709
- * @return self
709
+ * @return static
710
710
*/
711
711
public function selectLink ($ value )
712
712
{
@@ -721,7 +721,7 @@ public function selectLink($value)
721
721
*
722
722
* @param string $value The image alt
723
723
*
724
- * @return self A new instance of Crawler with the filtered list of nodes
724
+ * @return static A new instance of Crawler with the filtered list of nodes
725
725
*/
726
726
public function selectImage ($ value )
727
727
{
@@ -735,7 +735,7 @@ public function selectImage($value)
735
735
*
736
736
* @param string $value The button text
737
737
*
738
- * @return self
738
+ * @return static
739
739
*/
740
740
public function selectButton ($ value )
741
741
{
@@ -937,7 +937,7 @@ public static function xpathLiteral($s)
937
937
*
938
938
* @param string $xpath
939
939
*
940
- * @return self
940
+ * @return static
941
941
*/
942
942
private function filterRelativeXPath ($ xpath )
943
943
{
0 commit comments