Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 3211-3213 (lines=3) @@
3208
    {
3209
        $this->generatorToArray();
3210
3211
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3212
            return static::create(
3213
                [],
3214
                $this->iteratorClass,
3215
                false
3216
            );
@@ 3307-3309 (lines=3) @@
3304
    {
3305
        $this->generatorToArray();
3306
3307
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3308
            return static::create(
3309
                [],
3310
                $this->iteratorClass,
3311
                false
3312
            );