@@ -94,6 +94,10 @@ discard block |
||
94 | 94 | return self::declinateSubstative($word, $animateness); |
95 | 95 | } |
96 | 96 | |
97 | + /** |
|
98 | + * @param string|false $word |
|
99 | + * @param boolean $animateness |
|
100 | + */ |
|
97 | 101 | static protected function declinateSubstative($word, $animateness) { |
98 | 102 | $prefix = S::slice($word, 0, -1); |
99 | 103 | $last = S::slice($word, -1); |
@@ -172,6 +176,8 @@ discard block |
||
172 | 176 | |
173 | 177 | /** |
174 | 178 | * Rules are from http://rusgram.narod.ru/1216-1231.html |
179 | + * @param string|false $word |
|
180 | + * @param boolean $animateness |
|
175 | 181 | */ |
176 | 182 | static protected function declinateAdjective($word, $animateness) { |
177 | 183 | $prefix = S::slice($word, 0, -2); |