Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2646-2653 (lines=8) @@
2643
     *
2644
     * @return mixed
2645
     */
2646
    public function max()
2647
    {
2648
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2649
            return false;
2650
        }
2651
2652
        return \max($this->getArray());
2653
    }
2654
2655
    /**
2656
     * Merge the new $array into the current array.
@@ 2774-2781 (lines=8) @@
2771
     *
2772
     * @return mixed
2773
     */
2774
    public function min()
2775
    {
2776
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2777
            return false;
2778
        }
2779
2780
        return \min($this->getArray());
2781
    }
2782
2783
    /**
2784
     * Move an array element to a new index.