Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

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