@@ -115,7 +115,7 @@ |
||
| 115 | 115 | /** |
| 116 | 116 | * Returns an array of tokens this test wants to listen for. |
| 117 | 117 | * |
| 118 | - * @return array |
|
| 118 | + * @return integer[] |
|
| 119 | 119 | */ |
| 120 | 120 | public function register() { |
| 121 | 121 | if ( \defined( '\PHP_CODESNIFFER_IN_TESTS' ) ) { |
@@ -155,7 +155,7 @@ |
||
| 155 | 155 | * |
| 156 | 156 | * @since 1.1.0 |
| 157 | 157 | * |
| 158 | - * @return array |
|
| 158 | + * @return string[] |
|
| 159 | 159 | */ |
| 160 | 160 | public function register() { |
| 161 | 161 | $this->empty_tokens = Tokens::$emptyTokens; |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | * @param mixed $val Assigned value. |
| 63 | 63 | * @param int $line Token line. |
| 64 | 64 | * @param array $group Group definition. |
| 65 | - * @return mixed FALSE if no match, TRUE if matches, STRING if matches |
|
| 65 | + * @return string|false FALSE if no match, TRUE if matches, STRING if matches |
|
| 66 | 66 | * with custom error message passed to ->process(). |
| 67 | 67 | */ |
| 68 | 68 | public function callback( $key, $val, $line, $group ) { |
@@ -65,7 +65,7 @@ |
||
| 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 | { |
@@ -65,7 +65,7 @@ |
||
| 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 | { |
@@ -65,7 +65,7 @@ |
||
| 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 | { |
@@ -65,7 +65,7 @@ |
||
| 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 | { |
@@ -65,7 +65,7 @@ |
||
| 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 | { |
@@ -65,7 +65,7 @@ |
||
| 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 | { |