Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2874-2881 (lines=8) @@
2871
     *
2872
     * @return mixed
2873
     */
2874
    public function max()
2875
    {
2876
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2877
            return false;
2878
        }
2879
2880
        return \max($this->getArray());
2881
    }
2882
2883
    /**
2884
     * Merge the new $array into the current array.
@@ 3002-3009 (lines=8) @@
2999
     *
3000
     * @return mixed
3001
     */
3002
    public function min()
3003
    {
3004
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
3005
            return false;
3006
        }
3007
3008
        return \min($this->getArray());
3009
    }
3010
3011
    /**
3012
     * Move an array element to a new index.