Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2691-2698 (lines=8) @@
2688
     *
2689
     * @return mixed
2690
     */
2691
    public function max()
2692
    {
2693
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2694
            return false;
2695
        }
2696
2697
        return \max($this->getArray());
2698
    }
2699
2700
    /**
2701
     * Merge the new $array into the current array.
@@ 2819-2826 (lines=8) @@
2816
     *
2817
     * @return mixed
2818
     */
2819
    public function min()
2820
    {
2821
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2822
            return false;
2823
        }
2824
2825
        return \min($this->getArray());
2826
    }
2827
2828
    /**
2829
     * Move an array element to a new index.