Code Duplication    Length = 8-8 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2733-2740 (lines=8) @@
2730
     *
2731
     * @return mixed
2732
     */
2733
    public function max()
2734
    {
2735
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2736
            return false;
2737
        }
2738
2739
        return \max($this->array);
2740
    }
2741
2742
    /**
2743
     * Merge the new $array into the current array.
@@ 2845-2852 (lines=8) @@
2842
     *
2843
     * @return mixed
2844
     */
2845
    public function min()
2846
    {
2847
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2848
            return false;
2849
        }
2850
2851
        return \min($this->array);
2852
    }
2853
2854
    /**
2855
     * Move an array element to a new index.