Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 3262-3264 (lines=3) @@
3259
    {
3260
        $this->generatorToArray();
3261
3262
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3263
            return static::create(
3264
                [],
3265
                $this->iteratorClass,
3266
                false
3267
            );
@@ 3358-3360 (lines=3) @@
3355
    {
3356
        $this->generatorToArray();
3357
3358
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3359
            return static::create(
3360
                [],
3361
                $this->iteratorClass,
3362
                false
3363
            );