Code Duplication    Length = 9-9 lines in 2 locations

src/Arrayy.php 2 locations

@@ 1811-1819 (lines=9) @@
1808
   *
1809
   * @return self (Mutable) Return this Arrayy object, with pushed elements to the end of array.
1810
   */
1811
  public function push(/* variadic arguments allowed */)
1812
  {
1813
    if (func_num_args()) {
1814
      $args = array_merge(array(&$this->array), func_get_args());
1815
      call_user_func_array('array_push', $args);
1816
    }
1817
1818
    return $this;
1819
  }
1820
1821
  /**
1822
   * Get a random value from the current array.
@@ 2664-2672 (lines=9) @@
2661
   *
2662
   * @return self (Mutable) Return this Arrayy object, with prepended elements to the beginning of array.
2663
   */
2664
  public function unshift(/* variadic arguments allowed */)
2665
  {
2666
    if (func_num_args()) {
2667
      $args = array_merge(array(&$this->array), func_get_args());
2668
      call_user_func_array('array_unshift', $args);
2669
    }
2670
2671
    return $this;
2672
  }
2673
2674
  /**
2675
   * Get all values from a array.