Code Duplication    Length = 6-6 lines in 2 locations

eZ/Publish/Core/Persistence/Legacy/Content/Mapper.php 2 locations

@@ 324-329 (lines=6) @@
321
            $missing[] = $initialLanguageId;
322
        }
323
324
        if (!empty($missing)) {
325
            throw new NotFoundException(
326
                'Language',
327
                implode(', ', $missing) . "' when building content '" . $row['ezcontentobject_id']
328
            );
329
        }
330
331
        return $versionInfo;
332
    }
@@ 377-382 (lines=6) @@
374
                    $missing[] = $initialLanguageId;
375
                }
376
377
                if (!empty($missing)) {
378
                    throw new NotFoundException(
379
                        'Language',
380
                        implode(', ', $missing) . "' when building content '" . $row['ezcontentobject_id']
381
                    );
382
                }
383
            }
384
        }
385