Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2426-2433 (lines=8) @@
2423
   *
2424
   * @return mixed
2425
   */
2426
  public function max()
2427
  {
2428
    if (\count($this->array, COUNT_NORMAL) === 0) {
2429
      return false;
2430
    }
2431
2432
    return max($this->array);
2433
  }
2434
2435
  /**
2436
   * Merge the new $array into the current array.
@@ 2526-2533 (lines=8) @@
2523
   *
2524
   * @return mixed
2525
   */
2526
  public function min()
2527
  {
2528
    if (\count($this->array, COUNT_NORMAL) === 0) {
2529
      return false;
2530
    }
2531
2532
    return min($this->array);
2533
  }
2534
2535
  /**
2536
   * Move an array element to a new index.