Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2637-2644 (lines=8) @@
2634
     *
2635
     * @return mixed
2636
     */
2637
    public function max()
2638
    {
2639
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2640
            return false;
2641
        }
2642
2643
        return \max($this->getArray());
2644
    }
2645
2646
    /**
2647
     * Merge the new $array into the current array.
@@ 2765-2772 (lines=8) @@
2762
     *
2763
     * @return mixed
2764
     */
2765
    public function min()
2766
    {
2767
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2768
            return false;
2769
        }
2770
2771
        return \min($this->getArray());
2772
    }
2773
2774
    /**
2775
     * Move an array element to a new index.