@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Returns an array of tokens this test wants to listen for. |
| 50 | 50 | * |
| 51 | - * @return array |
|
| 51 | + * @return integer[] |
|
| 52 | 52 | */ |
| 53 | 53 | public function register() |
| 54 | 54 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | namespace PHPCompatibility\Sniffs\Keywords; |
| 12 | 12 | |
| 13 | 13 | use PHPCompatibility\Sniff; |
| 14 | -use PHPCompatibility\PHPCSHelper; |
|
| 15 | 14 | |
| 16 | 15 | /** |
| 17 | 16 | * \PHPCompatibility\Sniffs\Keywords\ForbiddenNamesSniff. |
@@ -301,7 +301,7 @@ |
||
| 301 | 301 | /** |
| 302 | 302 | * Get an array of the non-PHP-version array keys used in a sub-array. |
| 303 | 303 | * |
| 304 | - * @return array |
|
| 304 | + * @return string[] |
|
| 305 | 305 | */ |
| 306 | 306 | protected function getNonVersionArrayKeys() |
| 307 | 307 | { |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Returns an array of tokens this test wants to listen for. |
| 50 | 50 | * |
| 51 | - * @return array |
|
| 51 | + * @return integer[] |
|
| 52 | 52 | */ |
| 53 | 53 | public function register() |
| 54 | 54 | { |
@@ -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\ForbiddenEmptyListAssignmentSniff. |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * Returns an array of tokens this test wants to listen for. |
| 34 | 34 | * |
| 35 | - * @return array |
|
| 35 | + * @return string[] |
|
| 36 | 36 | */ |
| 37 | 37 | public function register() |
| 38 | 38 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | * @param int $stackPtr The position of the current token in the |
| 47 | 47 | * stack passed in $tokens. |
| 48 | 48 | * |
| 49 | - * @return void |
|
| 49 | + * @return null|integer |
|
| 50 | 50 | */ |
| 51 | 51 | public function process(\PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
| 52 | 52 | { |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Returns an array of tokens this test wants to listen for. |
| 50 | 50 | * |
| 51 | - * @return array |
|
| 51 | + * @return integer[] |
|
| 52 | 52 | */ |
| 53 | 53 | public function register() |
| 54 | 54 | { |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Returns an array of tokens this test wants to listen for. |
| 50 | 50 | * |
| 51 | - * @return array |
|
| 51 | + * @return integer[] |
|
| 52 | 52 | */ |
| 53 | 53 | public function register() |
| 54 | 54 | { |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | /** |
| 49 | 49 | * Returns an array of tokens this test wants to listen for. |
| 50 | 50 | * |
| 51 | - * @return array |
|
| 51 | + * @return integer[] |
|
| 52 | 52 | */ |
| 53 | 53 | public function register() |
| 54 | 54 | { |