@@ -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 | { |
@@ -309,7 +309,7 @@ |
||
| 309 | 309 | /** |
| 310 | 310 | * Loads the return annotation for this method. |
| 311 | 311 | * |
| 312 | - * @return null\ReturnAnnotation |
|
| 312 | + * @return null|ReturnAnnotation |
|
| 313 | 313 | */ |
| 314 | 314 | protected function loadReturnAnnotation(): ?ReturnAnnotation |
| 315 | 315 | { |
@@ -316,7 +316,7 @@ discard block |
||
| 316 | 316 | * will not be checked. i.e., checking will stop |
| 317 | 317 | * at the next semi-colon found. |
| 318 | 318 | * |
| 319 | - * @return int|bool |
|
| 319 | + * @return integer|null |
|
| 320 | 320 | * @see findPrevious() |
| 321 | 321 | */ |
| 322 | 322 | public function findNext( |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | * will not be checked. IE. checking will stop |
| 354 | 354 | * at the previous semi-colon found. |
| 355 | 355 | * |
| 356 | - * @return int|bool |
|
| 356 | + * @return integer |
|
| 357 | 357 | * @see findNext() |
| 358 | 358 | */ |
| 359 | 359 | public function findPrevious( |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | /** |
| 121 | 121 | * Returns the position of the summary or null. |
| 122 | 122 | * |
| 123 | - * @return int|null |
|
| 123 | + * @return integer |
|
| 124 | 124 | */ |
| 125 | 125 | private function getSummaryPosition(): ?int |
| 126 | 126 | { |