Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2466-2473 (lines=8) @@
2463
   *
2464
   * @return mixed
2465
   */
2466
  public function max()
2467
  {
2468
    if (\count($this->array, COUNT_NORMAL) === 0) {
2469
      return false;
2470
    }
2471
2472
    return max($this->array);
2473
  }
2474
2475
  /**
2476
   * Merge the new $array into the current array.
@@ 2566-2573 (lines=8) @@
2563
   *
2564
   * @return mixed
2565
   */
2566
  public function min()
2567
  {
2568
    if (\count($this->array, COUNT_NORMAL) === 0) {
2569
      return false;
2570
    }
2571
2572
    return min($this->array);
2573
  }
2574
2575
  /**
2576
   * Move an array element to a new index.