Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2642-2649 (lines=8) @@
2639
   *
2640
   * @return mixed
2641
   */
2642
  public function max()
2643
  {
2644
    if (\count($this->array, COUNT_NORMAL) === 0) {
2645
      return false;
2646
    }
2647
2648
    return max($this->array);
2649
  }
2650
2651
  /**
2652
   * Merge the new $array into the current array.
@@ 2750-2757 (lines=8) @@
2747
   *
2748
   * @return mixed
2749
   */
2750
  public function min()
2751
  {
2752
    if (\count($this->array, COUNT_NORMAL) === 0) {
2753
      return false;
2754
    }
2755
2756
    return min($this->array);
2757
  }
2758
2759
  /**
2760
   * Move an array element to a new index.