Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 3034-3036 (lines=3) @@
3031
    {
3032
        $this->generatorToArray();
3033
3034
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3035
            return static::create(
3036
                [],
3037
                $this->iteratorClass,
3038
                false
3039
            );
@@ 2938-2940 (lines=3) @@
2935
    {
2936
        $this->generatorToArray();
2937
2938
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2939
            return static::create(
2940
                [],
2941
                $this->iteratorClass,
2942
                false
2943
            );