Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2616-2623 (lines=8) @@
2613
     *
2614
     * @return mixed
2615
     */
2616
    public function max()
2617
    {
2618
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2619
            return false;
2620
        }
2621
2622
        return \max($this->getArray());
2623
    }
2624
2625
    /**
2626
     * Merge the new $array into the current array.
@@ 2744-2751 (lines=8) @@
2741
     *
2742
     * @return mixed
2743
     */
2744
    public function min()
2745
    {
2746
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2747
            return false;
2748
        }
2749
2750
        return \min($this->getArray());
2751
    }
2752
2753
    /**
2754
     * Move an array element to a new index.