Code Duplication    Length = 3-3 lines in 2 locations

src/Arrayy.php 2 locations

@@ 2857-2859 (lines=3) @@
2854
    {
2855
        $this->generatorToArray();
2856
2857
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2858
            return static::create(
2859
                [],
2860
                $this->iteratorClass,
2861
                false
2862
            );
@@ 2953-2955 (lines=3) @@
2950
    {
2951
        $this->generatorToArray();
2952
2953
        if (\count($this->array, \COUNT_NORMAL) === 0) {
2954
            return static::create(
2955
                [],
2956
                $this->iteratorClass,
2957
                false
2958
            );