@@ -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 | { |
@@ -94,13 +94,13 @@ discard block |
||
| 94 | 94 | |
| 95 | 95 | if ($tokenIdent == $this->registeredTokens[T_VARIABLE]) { |
| 96 | 96 | $exception = (new CodeError( |
| 97 | - static::CODE_MISSING_DOC_BLOCK_PREFIX . ucfirst($tokenIdent), |
|
| 97 | + static::CODE_MISSING_DOC_BLOCK_PREFIX.ucfirst($tokenIdent), |
|
| 98 | 98 | self::MESSAGE_MISSING_DOC_BLOCK_VAR, |
| 99 | 99 | $this->stackPos |
| 100 | 100 | ))->setPayload([lcfirst($tokenIdent)]); |
| 101 | 101 | } else { |
| 102 | 102 | $exception = (new CodeError( |
| 103 | - static::CODE_MISSING_DOC_BLOCK_PREFIX . ucfirst($tokenIdent), |
|
| 103 | + static::CODE_MISSING_DOC_BLOCK_PREFIX.ucfirst($tokenIdent), |
|
| 104 | 104 | self::MESSAGE_MISSING_DOC_BLOCK, |
| 105 | 105 | $this->stackPos |
| 106 | 106 | ))->setPayload([lcfirst($tokenIdent)]); |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | $tokenIdent = $this->getTokenName(); |
| 128 | 128 | |
| 129 | 129 | $exception = (new CodeError( |
| 130 | - static::CODE_NO_MULTI_LINE_DOC_BLOCK_PREFIX . ucfirst($tokenIdent), |
|
| 130 | + static::CODE_NO_MULTI_LINE_DOC_BLOCK_PREFIX.ucfirst($tokenIdent), |
|
| 131 | 131 | self::MESSAGE_NO_MULTI_LINE_DOC_BLOCK_PREFIX, |
| 132 | 132 | $docCommentPos |
| 133 | 133 | ))->setPayload([lcfirst($tokenIdent)]); |
@@ -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 | { |