Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2505-2512 (lines=8) @@
2502
     *
2503
     * @return mixed
2504
     */
2505
    public function max()
2506
    {
2507
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2508
            return false;
2509
        }
2510
2511
        return \max($this->getArray());
2512
    }
2513
2514
    /**
2515
     * Merge the new $array into the current array.
@@ 2633-2640 (lines=8) @@
2630
     *
2631
     * @return mixed
2632
     */
2633
    public function min()
2634
    {
2635
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2636
            return false;
2637
        }
2638
2639
        return \min($this->getArray());
2640
    }
2641
2642
    /**
2643
     * Move an array element to a new index.