Code Duplication    Length = 3-3 lines in 2 locations

src/Russian/NounPluralization.php 1 location

@@ 200-202 (lines=3) @@
197
            $forms[Cases::IMENIT] = $prefix.'и';
198
        } elseif (in_array($last, ['н', 'ц', 'р', 'т'], true)) {
199
            $forms[Cases::IMENIT] = $prefix.'ы';
200
        } else {
201
            $forms[Cases::IMENIT] = static::chooseVowelAfterConsonant($last, $soft_last, $prefix.'я', $prefix.'а');
202
        }
203
204
        // RODIT
205
        if (isset(static::$genitiveExceptions[$word])) {

src/Russian/NounDeclension.php 1 location

@@ 269-271 (lines=3) @@
266
        // TVORIT
267
        if ($last === 'ь') {
268
            $forms[Cases::TVORIT] = $prefix.'ой';
269
        } else {
270
            $forms[Cases::TVORIT] = static::chooseVowelAfterConsonant($last, $soft_last, $prefix.'ей', $prefix.'ой');
271
        }
272
273
        // 	if ($last == 'й' || (static::isConsonant($last) && !static::isHissingConsonant($last)) || static::checkLastConsonantSoftness($word))
274
        // 	$forms[Cases::TVORIT] = $prefix.'ей';