Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

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