Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2942-2949 (lines=8) @@
2939
     *
2940
     * @return mixed
2941
     */
2942
    public function max()
2943
    {
2944
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2945
            return false;
2946
        }
2947
2948
        return \max($this->getArray());
2949
    }
2950
2951
    /**
2952
     * Merge the new $array into the current array.
@@ 3070-3077 (lines=8) @@
3067
     *
3068
     * @return mixed
3069
     */
3070
    public function min()
3071
    {
3072
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
3073
            return false;
3074
        }
3075
3076
        return \min($this->getArray());
3077
    }
3078
3079
    /**
3080
     * Get the most used value from the array.