Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 3003-3005 (lines=3) @@
3000
    {
3001
        $this->generatorToArray();
3002
3003
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3004
            return static::create(
3005
                [],
3006
                $this->iteratorClass,
3007
                false
3008
            );
@@ 3099-3101 (lines=3) @@
3096
    {
3097
        $this->generatorToArray();
3098
3099
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3100
            return static::create(
3101
                [],
3102
                $this->iteratorClass,
3103
                false
3104
            );