Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2989-2991 (lines=3) @@
2986
    {
2987
        $this->generatorToArray();
2988
2989
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2990
            return static::create(
2991
                [],
2992
                $this->iteratorClass,
2993
                false
2994
            );
@@ 3085-3087 (lines=3) @@
3082
    {
3083
        $this->generatorToArray();
3084
3085
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3086
            return static::create(
3087
                [],
3088
                $this->iteratorClass,
3089
                false
3090
            );