@@ -44,7 +44,7 @@ |
||
44 | 44 | /** |
45 | 45 | * Returns an array of tokens this test wants to listen for. |
46 | 46 | * |
47 | - * @return integer[] |
|
47 | + * @return string[] |
|
48 | 48 | */ |
49 | 49 | public function register() |
50 | 50 | { |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | * @param int $stackPtr The position of the current token |
404 | 404 | * in the stack passed in $tokens. |
405 | 405 | * |
406 | - * @return bool|int |
|
406 | + * @return integer|null |
|
407 | 407 | */ |
408 | 408 | protected function getLeadingCommentOrSelf(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
409 | 409 | { |
@@ -593,7 +593,7 @@ discard block |
||
593 | 593 | * @param int $stackPtr The position of the current token |
594 | 594 | * in the stack passed in $tokens. |
595 | 595 | * |
596 | - * @return bool|int |
|
596 | + * @return integer|null |
|
597 | 597 | */ |
598 | 598 | protected function getTrailingCommentOrSelf(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
599 | 599 | { |