Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2994-2996 (lines=3) @@
2991
    {
2992
        $this->generatorToArray();
2993
2994
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2995
            return static::create(
2996
                [],
2997
                $this->iteratorClass,
2998
                false
2999
            );
@@ 3090-3092 (lines=3) @@
3087
    {
3088
        $this->generatorToArray();
3089
3090
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3091
            return static::create(
3092
                [],
3093
                $this->iteratorClass,
3094
                false
3095
            );