@@ -87,7 +87,7 @@ |
||
87 | 87 | /** |
88 | 88 | * Loads the tokens for the positions. |
89 | 89 | * |
90 | - * @param array $subTokenPoss |
|
90 | + * @param integer[] $subTokenPoss |
|
91 | 91 | * |
92 | 92 | * @return array |
93 | 93 | */ |
@@ -232,7 +232,7 @@ |
||
232 | 232 | * @param string $rule |
233 | 233 | * @param string $tag |
234 | 234 | * |
235 | - * @return bool|string |
|
235 | + * @return string|false |
|
236 | 236 | */ |
237 | 237 | private function hasFixCallback(string $rule, string $tag) |
238 | 238 | { |
@@ -151,7 +151,7 @@ discard block |
||
151 | 151 | /** |
152 | 152 | * The callback to sort tokens. |
153 | 153 | * |
154 | - * 1. @return goes to the bottom |
|
154 | + * 1. @return integer to the bottom |
|
155 | 155 | * 2. Single tags are group alphabetically in the top group. |
156 | 156 | * 3. Groups are sorted then by occurrence, that the largest group is the last one before the return. |
157 | 157 | * 4. Same annotations are kept in the order of their code. |
@@ -160,7 +160,7 @@ discard block |
||
160 | 160 | * @param array $rightToken Provided by usort. |
161 | 161 | * @param array $tagCounts Saves the occurence count for every tag. |
162 | 162 | * |
163 | - * @return int |
|
163 | + * @return integer |
|
164 | 164 | */ |
165 | 165 | private function compareTokensForSorting(array $leftToken, array $rightToken, array $tagCounts): int |
166 | 166 | { |