@@ 192-201 (lines=10) @@ | ||
189 | } |
|
190 | ||
191 | // Субстантивное склонение (существительные) |
|
192 | if (in_array($word, static::$immutableWords, true)) { |
|
193 | return [ |
|
194 | static::IMENIT => $word, |
|
195 | static::RODIT => $word, |
|
196 | static::DAT => $word, |
|
197 | static::VINIT => $word, |
|
198 | static::TVORIT => $word, |
|
199 | static::PREDLOJ => $word, |
|
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]); |
@@ 160-169 (lines=10) @@ | ||
157 | { |
|
158 | $word = S::lower($word); |
|
159 | ||
160 | if (in_array($word, NounDeclension::$immutableWords, true)) { |
|
161 | return [ |
|
162 | static::IMENIT => $word, |
|
163 | static::RODIT => $word, |
|
164 | static::DAT => $word, |
|
165 | static::VINIT => $word, |
|
166 | static::TVORIT => $word, |
|
167 | static::PREDLOJ => $word, |
|
168 | ]; |
|
169 | } |
|
170 | ||
171 | if (isset(static::$abnormalExceptions[$word])) { |
|
172 | return array_combine( |