Completed
Push — master ( 13fe0a...7029b0 )
by f
02:11
created
src/Russian/NounDeclension.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
     /**
179 179
      * Получение всех форм слова первого склонения.
180
-     * @param $word
180
+     * @param string|false $word
181 181
      * @return array
182 182
      */
183 183
     public static function declinateFirstDeclension($word)
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
 
219 219
     /**
220 220
      * Получение всех форм слова второго склонения.
221
-     * @param $word
221
+     * @param string|false $word
222 222
      * @param bool $animateness
223 223
      * @return array
224 224
      */
@@ -268,7 +268,7 @@  discard block
 block discarded – undo
268 268
 
269 269
     /**
270 270
      * Получение всех форм слова третьего склонения.
271
-     * @param $word
271
+     * @param string|false $word
272 272
      * @return array
273 273
      */
274 274
     public static function declinateThirdDeclension($word)
@@ -288,8 +288,8 @@  discard block
 block discarded – undo
288 288
     /**
289 289
      * Склонение существительных, образованных от прилагательных и причастий.
290 290
      * Rules are from http://rusgram.narod.ru/1216-1231.html
291
-     * @param $word
292
-     * @param $animateness
291
+     * @param string|false $word
292
+     * @param boolean $animateness
293 293
      * @return array
294 294
      */
295 295
     public static function declinateAdjective($word, $animateness)
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
 
363 363
     /**
364 364
      * @param $word
365
-     * @param $last
365
+     * @param string|false $last
366 366
      * @return bool|string
367 367
      */
368 368
     public static function getPrefixOfSecondDeclension($word, $last)
@@ -397,9 +397,9 @@  discard block
 block discarded – undo
397 397
     }
398 398
 
399 399
     /**
400
-     * @param $word
401
-     * @param $last
402
-     * @param $prefix
400
+     * @param string|false $word
401
+     * @param string|false $last
402
+     * @param string|boolean $prefix
403 403
      * @return string
404 404
      */
405 405
     public static function getPredCaseOf12Declensions($word, $last, $prefix)
Please login to merge, or discard this patch.
src/Russian/NounPluralization.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     }
107 107
 
108 108
     /**
109
-     * @param $word
109
+     * @param string $word
110 110
      * @param $case
111 111
      * @param bool $animateness
112 112
      * @return mixed
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     /**
122 122
      * @param $word
123 123
      * @param bool $animateness
124
-     * @return array
124
+     * @return string
125 125
      */
126 126
     public static function getCases($word, $animateness = false)
127 127
     {
@@ -149,8 +149,8 @@  discard block
 block discarded – undo
149 149
 
150 150
     /**
151 151
      * Склонение обычных существительных.
152
-     * @param $word
153
-     * @param $animateness
152
+     * @param string|false $word
153
+     * @param boolean $animateness
154 154
      * @return array
155 155
      */
156 156
     protected static function declinateSubstative($word, $animateness)
@@ -237,8 +237,8 @@  discard block
 block discarded – undo
237 237
     /**
238 238
      * Склонение существительных, образованных от прилагательных и причастий.
239 239
      * Rules are from http://rusgram.narod.ru/1216-1231.html
240
-     * @param $word
241
-     * @param $animateness
240
+     * @param string|false $word
241
+     * @param boolean $animateness
242 242
      * @return array
243 243
      */
244 244
     protected static function declinateAdjective($word, $animateness)
Please login to merge, or discard this patch.