Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

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