Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2761-2768 (lines=8) @@
2758
     *
2759
     * @return mixed
2760
     */
2761
    public function max()
2762
    {
2763
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2764
            return false;
2765
        }
2766
2767
        return \max($this->getArray());
2768
    }
2769
2770
    /**
2771
     * Merge the new $array into the current array.
@@ 2889-2896 (lines=8) @@
2886
     *
2887
     * @return mixed
2888
     */
2889
    public function min()
2890
    {
2891
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2892
            return false;
2893
        }
2894
2895
        return \min($this->getArray());
2896
    }
2897
2898
    /**
2899
     * Move an array element to a new index.