@@ -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 |
@@ -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\AssignmentOrderSniff. |