Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2822-2829 (lines=8) @@
2819
     *
2820
     * @return mixed
2821
     */
2822
    public function max()
2823
    {
2824
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2825
            return false;
2826
        }
2827
2828
        return \max($this->getArray());
2829
    }
2830
2831
    /**
2832
     * Merge the new $array into the current array.
@@ 2950-2957 (lines=8) @@
2947
     *
2948
     * @return mixed
2949
     */
2950
    public function min()
2951
    {
2952
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2953
            return false;
2954
        }
2955
2956
        return \min($this->getArray());
2957
    }
2958
2959
    /**
2960
     * Move an array element to a new index.