Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 3270-3272 (lines=3) @@
3267
    {
3268
        $this->generatorToArray();
3269
3270
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3271
            return static::create(
3272
                [],
3273
                $this->iteratorClass,
3274
                false
3275
            );
@@ 3366-3368 (lines=3) @@
3363
    {
3364
        $this->generatorToArray();
3365
3366
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3367
            return static::create(
3368
                [],
3369
                $this->iteratorClass,
3370
                false
3371
            );