Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 3080-3082 (lines=3) @@
3077
    {
3078
        $this->generatorToArray();
3079
3080
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3081
            return static::create(
3082
                [],
3083
                $this->iteratorClass,
3084
                false
3085
            );
@@ 3176-3178 (lines=3) @@
3173
    {
3174
        $this->generatorToArray();
3175
3176
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3177
            return static::create(
3178
                [],
3179
                $this->iteratorClass,
3180
                false
3181
            );