Code Duplication    Length = 3-5 lines in 2 locations

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
        // Пример: прохожий, существительное

src/Russian/NounDeclension.php 1 location

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