Code Duplication    Length = 3-3 lines in 2 locations

src/Russian/NounDeclension.php 1 location

@@ 236-238 (lines=3) @@
233
        // TVORIT
234
        if ($last === 'ь') {
235
            $forms[Cases::TVORIT] = $prefix.'ой';
236
        } else {
237
            $forms[Cases::TVORIT] = static::chooseVowelAfterConsonant($last, $soft_last, $prefix.'ей', $prefix.'ой');
238
        }
239
240
        // 	if ($last == 'й' || (static::isConsonant($last) && !static::isHissingConsonant($last)) || static::checkLastConsonantSoftness($word))
241
        // 	$forms[Cases::TVORIT] = $prefix.'ей';

src/Russian/NounPluralization.php 1 location

@@ 213-215 (lines=3) @@
210
            $forms[Cases::IMENIT] = $prefix.'и';
211
        } elseif (in_array($last, ['н', 'ц', 'р', 'т'], true)) {
212
            $forms[Cases::IMENIT] = $prefix.'ы';
213
        } else {
214
            $forms[Cases::IMENIT] = static::chooseVowelAfterConsonant($last, $soft_last, $prefix.'я', $prefix.'а');
215
        }
216
217
        // RODIT
218
        if (isset(static::$genitiveExceptions[$word])) {