Code Duplication    Length = 4-9 lines in 2 locations

src/Russian/NounPluralization.php 2 locations

@@ 70-78 (lines=9) @@
67
68
        // для адъективных существительных правила склонения проще:
69
        // только две формы
70
        if (static::isAdjectiveNoun($word)) {
71
            if (static::getNumeralForm($count) == static::ONE)
72
                return $word;
73
            else
74
                return NounPluralization::getCase($word,
75
                    $case !== null
76
                        ? $case
77
                        : static::RODIT, $animateness);
78
        }
79
80
        if ($case === null) {
81
            switch (static::getNumeralForm($count)) {
@@ 91-94 (lines=4) @@
88
            }
89
        }
90
91
        if (static::getNumeralForm($count) == static::ONE)
92
            return NounDeclension::getCase($word, $case, $animateness);
93
        else
94
            return NounPluralization::getCase($word, $case, $animateness);
95
    }
96
97
    /**