Code Duplication    Length = 3-5 lines in 2 locations

src/Russian/NounDeclension.php 1 location

@@ 203-205 (lines=3) @@
200
            ];
201
        }
202
203
        if (isset(static::$abnormalExceptions[$word])) {
204
            return array_combine([static::IMENIT, static::RODIT, static::DAT, static::VINIT, static::TVORIT, static::PREDLOJ], static::$abnormalExceptions[$word]);
205
        }
206
207
        if (in_array($word, static::$abnormalExceptions, true)) {
208
            $prefix = S::slice($word, 0, -1);

src/Russian/NounPluralization.php 1 location

@@ 171-175 (lines=5) @@
168
            ];
169
        }
170
171
        if (isset(static::$abnormalExceptions[$word])) {
172
            return array_combine(
173
                [static::IMENIT, static::RODIT, static::DAT, static::VINIT, static::TVORIT, static::PREDLOJ],
174
                static::$abnormalExceptions[$word]);
175
        }
176
177
        // Адъективное склонение (Сущ, образованные от прилагательных и причастий)
178
        // Пример: прохожий, существительное