Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

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