Code Duplication    Length = 3-3 lines in 2 locations

eZ/Publish/Core/Persistence/Legacy/Content/Language/MaskGenerator.php 2 locations

@@ 59-61 (lines=3) @@
56
            $mask |= $language->id;
57
        }
58
59
        if ($missing = array_diff($languageCodes, array_keys($languageList))) {
60
            throw new NotFoundException('Language', implode(', ', $missing));
61
        }
62
63
        return $mask;
64
    }
@@ 224-226 (lines=3) @@
221
            $mask |= $language->id;
222
        }
223
224
        if ($missing = array_diff($languageCodes, array_keys($languageList))) {
225
            throw new NotFoundException('Language', implode(', ', $missing));
226
        }
227
228
        return $mask;
229
    }