Completed
Push — master ( 18bbe5...4b1809 )
by f
01:51
created
src/Russian/AdjectiveDeclension.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
     }
54 54
 
55 55
     /**
56
-     * @param      $adjective
56
+     * @param      string $adjective
57 57
      *
58 58
      * @param bool $isEmphasized
59 59
      *
@@ -145,9 +145,8 @@  discard block
 block discarded – undo
145 145
      * @param string $adjective
146 146
      * @param bool   $animateness
147 147
      * @param string $gender
148
-     * @param bool   $isEmphasized
149 148
      *
150
-     * @param        $afterConsonantVowel
149
+     * @param        string|false $afterConsonantVowel
151 150
      *
152 151
      * @return array
153 152
      */
@@ -190,9 +189,8 @@  discard block
 block discarded – undo
190 189
      * @param string $adjective
191 190
      * @param bool   $animateness
192 191
      * @param string $gender
193
-     * @param bool   $isEmphasized
194 192
      *
195
-     * @param        $afterConsonantVowel
193
+     * @param        string|false $afterConsonantVowel
196 194
      *
197 195
      * @return array
198 196
      */
@@ -234,7 +232,7 @@  discard block
 block discarded – undo
234 232
      * @param string $adjective
235 233
      * @param bool   $animateness
236 234
      * @param string $gender
237
-     * @param bool   $isEmphasized
235
+     * @param string|false $afterConsonantVowel
238 236
      *
239 237
      * @return array
240 238
      */
Please login to merge, or discard this patch.
src/Russian/RussianLanguage.php 1 patch
Doc Comments   +11 added lines, -10 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@  discard block
 block discarded – undo
72 72
 
73 73
     /**
74 74
      * Проверка гласной
75
-     * @param $char
75
+     * @param string|false $char
76 76
      * @return bool
77 77
      */
78 78
     public static function isVowel($char)
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
     /**
84 84
      * Проверка согласной
85
-     * @param $char
85
+     * @param string|false $char
86 86
      * @return bool
87 87
      */
88 88
     public static function isConsonant($char)
@@ -92,6 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
     /**
94 94
      * Проверка звонкости согласной
95
+     * @param string|false $char
95 96
      */
96 97
     public static function isSonorousConsonant($char)
97 98
     {
@@ -100,7 +101,7 @@  discard block
 block discarded – undo
100 101
 
101 102
     /**
102 103
      * Проверка глухости согласной
103
-     * @param $char
104
+     * @param string|false $char
104 105
      * @return bool
105 106
      */
106 107
     public static function isDeafConsonant($char)
@@ -120,7 +121,7 @@  discard block
 block discarded – undo
120 121
 
121 122
     /**
122 123
      * Проверка на велярность согласной
123
-     * @param string[1] $consonant
124
+     * @param string|false $consonant
124 125
      * @return bool
125 126
      */
126 127
     protected static function isVelarConsonant($consonant)
@@ -169,7 +170,7 @@  discard block
 block discarded – undo
169 170
 
170 171
     /**
171 172
      * Проверка мягкости последней согласной, за исключением Н
172
-     * @param $word
173
+     * @param string|false $word
173 174
      * @return bool
174 175
      */
175 176
     public static function checkBaseLastConsonantSoftness($word)
@@ -190,7 +191,7 @@  discard block
 block discarded – undo
190 191
 
191 192
     /**
192 193
      * Проверяет, что гласная образует два звука в словах
193
-     * @param $vowel
194
+     * @param string|false $vowel
194 195
      * @return bool
195 196
      */
196 197
     public static function isBinaryVowel($vowel)
@@ -219,10 +220,10 @@  discard block
 block discarded – undo
219 220
     /**
220 221
      * Выбор окончания в зависимости от мягкости
221 222
      *
222
-     * @param $last
223
-     * @param $softLast
224
-     * @param $afterSoft
225
-     * @param $afterHard
223
+     * @param string|false $last
224
+     * @param boolean $softLast
225
+     * @param string $afterSoft
226
+     * @param string $afterHard
226 227
      *
227 228
      * @return mixed
228 229
      */
Please login to merge, or discard this patch.