Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2856-2863 (lines=8) @@
2853
     *
2854
     * @return mixed
2855
     */
2856
    public function max()
2857
    {
2858
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2859
            return false;
2860
        }
2861
2862
        return \max($this->getArray());
2863
    }
2864
2865
    /**
2866
     * Merge the new $array into the current array.
@@ 2984-2991 (lines=8) @@
2981
     *
2982
     * @return mixed
2983
     */
2984
    public function min()
2985
    {
2986
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2987
            return false;
2988
        }
2989
2990
        return \min($this->getArray());
2991
    }
2992
2993
    /**
2994
     * Move an array element to a new index.