Code Duplication    Length = 3-5 lines in 2 locations

src/Russian/NounDeclension.php 1 location

@@ 218-220 (lines=3) @@
215
            ];
216
        }
217
218
        if (isset(static::$abnormalExceptions[$word])) {
219
            return array_combine([static::IMENIT, static::RODIT, static::DAT, static::VINIT, static::TVORIT, static::PREDLOJ], static::$abnormalExceptions[$word]);
220
        }
221
222
        if (in_array($word, static::$abnormalExceptions, true)) {
223
            $prefix = S::slice($word, 0, -1);

src/Russian/NounPluralization.php 1 location

@@ 152-156 (lines=5) @@
149
            ];
150
        }
151
152
        if (isset(static::$abnormalExceptions[$word])) {
153
            return array_combine(
154
                [static::IMENIT, static::RODIT, static::DAT, static::VINIT, static::TVORIT, static::PREDLOJ],
155
                static::$abnormalExceptions[$word]);
156
        }
157
158
        // Адъективное склонение (Сущ, образованные от прилагательных и причастий)
159
        // Пример: прохожий, существительное