Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2618-2625 (lines=8) @@
2615
   *
2616
   * @return mixed
2617
   */
2618
  public function max()
2619
  {
2620
    if (\count($this->array, COUNT_NORMAL) === 0) {
2621
      return false;
2622
    }
2623
2624
    return max($this->array);
2625
  }
2626
2627
  /**
2628
   * Merge the new $array into the current array.
@@ 2726-2733 (lines=8) @@
2723
   *
2724
   * @return mixed
2725
   */
2726
  public function min()
2727
  {
2728
    if (\count($this->array, COUNT_NORMAL) === 0) {
2729
      return false;
2730
    }
2731
2732
    return min($this->array);
2733
  }
2734
2735
  /**
2736
   * Move an array element to a new index.