Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2420-2427 (lines=8) @@
2417
     *
2418
     * @return mixed
2419
     */
2420
    public function max()
2421
    {
2422
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2423
            return false;
2424
        }
2425
2426
        return \max($this->getArray());
2427
    }
2428
2429
    /**
2430
     * Merge the new $array into the current array.
@@ 2532-2539 (lines=8) @@
2529
     *
2530
     * @return mixed
2531
     */
2532
    public function min()
2533
    {
2534
        if (\count($this->getArray(), \COUNT_NORMAL) === 0) {
2535
            return false;
2536
        }
2537
2538
        return \min($this->getArray());
2539
    }
2540
2541
    /**
2542
     * Move an array element to a new index.