| @@ -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 |      { | 
| @@ -347,7 +347,7 @@ | ||
| 347 | 347 | * @param int $end The end of the value definition (inclusive), | 
| 348 | 348 | * i.e. this token will be examined as part of | 
| 349 | 349 | * the snippet. | 
| 350 | - * @param bool $nestedArrays Optional. Array nesting level when examining | |
| 350 | + * @param integer $nestedArrays Optional. Array nesting level when examining | |
| 351 | 351 | * the content of an array. | 
| 352 | 352 | * | 
| 353 | 353 | * @return bool | 
| @@ -136,7 +136,7 @@ | ||
| 136 | 136 | * @param int $start The position of the list open token or a token | 
| 137 | 137 | * within the list to start (resume) the examination from. | 
| 138 | 138 | * @param int $closer The position of the list close token. | 
| 139 | - * @param array $targets An array with one or more token constants to look for. | |
| 139 | + * @param integer[] $targets An array with one or more token constants to look for. | |
| 140 | 140 | * | 
| 141 | 141 | * @return int|bool Stack pointer to the target token if encountered. False otherwise. | 
| 142 | 142 | */ | 
| @@ -12,7 +12,6 @@ | ||
| 12 | 12 | namespace PHPCompatibility\Sniffs\Lists; | 
| 13 | 13 | |
| 14 | 14 | use PHPCompatibility\Sniff; | 
| 15 | -use PHPCompatibility\PHPCSHelper; | |
| 16 | 15 | |
| 17 | 16 | /** | 
| 18 | 17 | * \PHPCompatibility\Sniffs\Lists\NewKeyedListSniff. |