Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2956-2963 (lines=8) @@
2953
     *
2954
     * @return mixed
2955
     */
2956
    public function max()
2957
    {
2958
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2959
            return false;
2960
        }
2961
2962
        return \max($this->getArray());
2963
    }
2964
2965
    /**
2966
     * Merge the new $array into the current array.
@@ 3084-3091 (lines=8) @@
3081
     *
3082
     * @return mixed
3083
     */
3084
    public function min()
3085
    {
3086
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
3087
            return false;
3088
        }
3089
3090
        return \min($this->getArray());
3091
    }
3092
3093
    /**
3094
     * Get the most used value from the array.