Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2422-2429 (lines=8) @@
2419
   *
2420
   * @return mixed
2421
   */
2422
  public function max()
2423
  {
2424
    if (\count($this->array, COUNT_NORMAL) === 0) {
2425
      return false;
2426
    }
2427
2428
    return max($this->array);
2429
  }
2430
2431
  /**
2432
   * Merge the new $array into the current array.
@@ 2522-2529 (lines=8) @@
2519
   *
2520
   * @return mixed
2521
   */
2522
  public function min()
2523
  {
2524
    if (\count($this->array, COUNT_NORMAL) === 0) {
2525
      return false;
2526
    }
2527
2528
    return min($this->array);
2529
  }
2530
2531
  /**
2532
   * Move an array element to a new index.