Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2916-2918 (lines=3) @@
2913
    {
2914
        $this->generatorToArray();
2915
2916
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2917
            return static::create(
2918
                [],
2919
                $this->iteratorClass,
2920
                false
2921
            );
@@ 3012-3014 (lines=3) @@
3009
    {
3010
        $this->generatorToArray();
3011
3012
        if (\count($this->array, \COUNT_NORMAL) === 0) {
3013
            return static::create(
3014
                [],
3015
                $this->iteratorClass,
3016
                false
3017
            );