Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2860-2862 (lines=3) @@
2857
    {
2858
        $this->generatorToArray();
2859
2860
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2861
            return static::create(
2862
                [],
2863
                $this->iteratorClass,
2864
                false
2865
            );
@@ 2956-2958 (lines=3) @@
2953
    {
2954
        $this->generatorToArray();
2955
2956
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2957
            return static::create(
2958
                [],
2959
                $this->iteratorClass,
2960
                false
2961
            );