Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2579-2586 (lines=8) @@
2576
     *
2577
     * @return mixed
2578
     */
2579
    public function max()
2580
    {
2581
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2582
            return false;
2583
        }
2584
2585
        return \max($this->getArray());
2586
    }
2587
2588
    /**
2589
     * Merge the new $array into the current array.
@@ 2707-2714 (lines=8) @@
2704
     *
2705
     * @return mixed
2706
     */
2707
    public function min()
2708
    {
2709
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2710
            return false;
2711
        }
2712
2713
        return \min($this->getArray());
2714
    }
2715
2716
    /**
2717
     * Move an array element to a new index.