@@ -29,7 +29,7 @@ |
||
29 | 29 | /** |
30 | 30 | * Returns an array of tokens this test wants to listen for. |
31 | 31 | * |
32 | - * @return array |
|
32 | + * @return string[] |
|
33 | 33 | */ |
34 | 34 | public function register() |
35 | 35 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | /** |
30 | 30 | * Returns an array of tokens this test wants to listen for. |
31 | 31 | * |
32 | - * @return array |
|
32 | + * @return string[] |
|
33 | 33 | */ |
34 | 34 | public function register() |
35 | 35 | { |
@@ -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 | { |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * |
36 | 36 | * @since 9.1.0 |
37 | 37 | * |
38 | - * @return array |
|
38 | + * @return integer[] |
|
39 | 39 | */ |
40 | 40 | public function register() |
41 | 41 | { |
@@ -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 | { |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | /** |
66 | 66 | * Returns an array of tokens this test wants to listen for. |
67 | 67 | * |
68 | - * @return array |
|
68 | + * @return integer[] |
|
69 | 69 | */ |
70 | 70 | public function register() |
71 | 71 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * @param int $stackPtr The position of the current token in |
84 | 84 | * the stack passed in $tokens. |
85 | 85 | * |
86 | - * @return void |
|
86 | + * @return null|integer |
|
87 | 87 | */ |
88 | 88 | public function process(File $phpcsFile, $stackPtr) |
89 | 89 | { |
@@ -1018,7 +1018,7 @@ |
||
1018 | 1018 | * @param \PHP_CodeSniffer_File $phpcsFile The file being scanned. |
1019 | 1019 | * @param int $stackPtr The position of the return type token. |
1020 | 1020 | * |
1021 | - * @return string|false The name of the return type token. |
|
1021 | + * @return null|string The name of the return type token. |
|
1022 | 1022 | */ |
1023 | 1023 | public function getReturnTypeHintName(File $phpcsFile, $stackPtr) |
1024 | 1024 | { |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | /** |
34 | 34 | * Returns an array of tokens this test wants to listen for. |
35 | 35 | * |
36 | - * @return array |
|
36 | + * @return string[] |
|
37 | 37 | */ |
38 | 38 | public function register() |
39 | 39 | { |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | * @param int $stackPtr The position of the current token in the |
48 | 48 | * stack passed in $tokens. |
49 | 49 | * |
50 | - * @return void |
|
50 | + * @return null|integer |
|
51 | 51 | */ |
52 | 52 | public function process(File $phpcsFile, $stackPtr) |
53 | 53 | { |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * Returns an array of tokens this test wants to listen for. |
69 | 69 | * |
70 | - * @return array |
|
70 | + * @return integer[] |
|
71 | 71 | */ |
72 | 72 | public function register() |
73 | 73 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * @param int $stackPtr The position of the current token in the |
84 | 84 | * stack passed in $tokens. |
85 | 85 | * |
86 | - * @return void |
|
86 | + * @return integer|null |
|
87 | 87 | */ |
88 | 88 | public function process(File $phpcsFile, $stackPtr) |
89 | 89 | { |