Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2632-2639 (lines=8) @@
2629
     *
2630
     * @return mixed
2631
     */
2632
    public function max()
2633
    {
2634
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2635
            return false;
2636
        }
2637
2638
        return \max($this->getArray());
2639
    }
2640
2641
    /**
2642
     * Merge the new $array into the current array.
@@ 2760-2767 (lines=8) @@
2757
     *
2758
     * @return mixed
2759
     */
2760
    public function min()
2761
    {
2762
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2763
            return false;
2764
        }
2765
2766
        return \min($this->getArray());
2767
    }
2768
2769
    /**
2770
     * Move an array element to a new index.