@@ -582,7 +582,7 @@ |
||
582 | 582 | /** |
583 | 583 | * Returns an array of tokens this test wants to listen for. |
584 | 584 | * |
585 | - * @return array |
|
585 | + * @return integer[] |
|
586 | 586 | */ |
587 | 587 | public function register() |
588 | 588 | { |
@@ -1106,7 +1106,7 @@ |
||
1106 | 1106 | * @param \PHP_CodeSniffer_File $phpcsFile The file being scanned. |
1107 | 1107 | * @param int $stackPtr The position of the return type token. |
1108 | 1108 | * |
1109 | - * @return string|false The name of the return type token. |
|
1109 | + * @return null|string The name of the return type token. |
|
1110 | 1110 | */ |
1111 | 1111 | public function getReturnTypeHintName(\PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
1112 | 1112 | { |