Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2559-2566 (lines=8) @@
2556
     *
2557
     * @return mixed
2558
     */
2559
    public function max()
2560
    {
2561
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2562
            return false;
2563
        }
2564
2565
        return \max($this->getArray());
2566
    }
2567
2568
    /**
2569
     * Merge the new $array into the current array.
@@ 2687-2694 (lines=8) @@
2684
     *
2685
     * @return mixed
2686
     */
2687
    public function min()
2688
    {
2689
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2690
            return false;
2691
        }
2692
2693
        return \min($this->getArray());
2694
    }
2695
2696
    /**
2697
     * Move an array element to a new index.