Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2802-2809 (lines=8) @@
2799
     *
2800
     * @return mixed
2801
     */
2802
    public function max()
2803
    {
2804
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2805
            return false;
2806
        }
2807
2808
        return \max($this->getArray());
2809
    }
2810
2811
    /**
2812
     * Merge the new $array into the current array.
@@ 2930-2937 (lines=8) @@
2927
     *
2928
     * @return mixed
2929
     */
2930
    public function min()
2931
    {
2932
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2933
            return false;
2934
        }
2935
2936
        return \min($this->getArray());
2937
    }
2938
2939
    /**
2940
     * Get the most used value from the array.