@@ -1065,7 +1065,7 @@ |
||
1065 | 1065 | * @param \PHP_CodeSniffer_File $phpcsFile The file being scanned. |
1066 | 1066 | * @param int $stackPtr The position of the return type token. |
1067 | 1067 | * |
1068 | - * @return string|false The name of the return type token. |
|
1068 | + * @return null|string The name of the return type token. |
|
1069 | 1069 | */ |
1070 | 1070 | public function getReturnTypeHintName(\PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
1071 | 1071 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | /** |
64 | 64 | * Returns an array of tokens this test wants to listen for. |
65 | 65 | * |
66 | - * @return array |
|
66 | + * @return integer[] |
|
67 | 67 | */ |
68 | 68 | public function register() |
69 | 69 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * @param int $stackPtr The position of the current token in |
82 | 82 | * the stack passed in $tokens. |
83 | 83 | * |
84 | - * @return void |
|
84 | + * @return null|integer |
|
85 | 85 | */ |
86 | 86 | public function process(\PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
87 | 87 | { |
@@ -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 | { |
@@ -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 | { |
@@ -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 | { |