Code Duplication    Length = 3-3 lines in 2 locations

src/PhpQueryObject.php 2 locations

@@ 626-628 (lines=3) @@
623
            $return = $this->eq($index)->text();
624
        else {
625
            $return = array();
626
            for ($i = 0; $i < $this->size(); $i++) {
627
                $return[] = $this->eq($i)->text();
628
            }
629
        }
630
        // pass thou callbacks
631
        $args = func_get_args();
@@ 663-665 (lines=3) @@
660
            $return = $this->eq($index)->text();
661
        else {
662
            $return = array();
663
            for ($i = 0; $i < $this->size(); $i++) {
664
                $return[] = $this->eq($i)->text();
665
            }
666
            // pass thou callbacks
667
            $args = func_get_args();
668
            $args = array_slice($args, 1);