Code Duplication    Length = 12-12 lines in 2 locations

src/Traits/StrictKeyedIterableTrait.php 1 location

@@ 225-236 (lines=12) @@
222
        return false;
223
    }
224
225
    public function concatAll()
226
    {
227
        /** @var MapInterface $results */
228
        $results = new static();
229
        $this->each(function (Iterable $subArray) use ($results) {
230
            $subArray->each(function ($item, $key) use ($results) {
231
                $results->add($key, $item);
232
            });
233
        });
234
235
        return $results;
236
    }
237
238
    private function concatRecurse($array, $array1)
239
    {

src/Traits/StrictIterableTrait.php 1 location

@@ 228-239 (lines=12) @@
225
        return false;
226
    }
227
228
    public function concatAll()
229
    {
230
        /** @var VectorInterface $results */
231
        $results = new static();
232
        $this->each(function (Iterable $subArray) use ($results) {
233
            $subArray->each(function ($item) use ($results) {
234
                $results->add($item);
235
            });
236
        });
237
238
        return $results;
239
    }
240
241
    /**
242
     * {@inheritdoc}