Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 3319-3321 (lines=3) @@
3316
    {
3317
        $this->generatorToArray();
3318
3319
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3320
            return static::create(
3321
                [],
3322
                $this->iteratorClass,
3323
                false
3324
            );
@@ 3415-3417 (lines=3) @@
3412
    {
3413
        $this->generatorToArray();
3414
3415
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3416
            return static::create(
3417
                [],
3418
                $this->iteratorClass,
3419
                false
3420
            );