@@ -26,7 +26,7 @@ |
||
26 | 26 | * Returns an array of tokens this test wants to listen for. |
27 | 27 | * Maybe not ideal to do this on each open tag. But I don't feel like digging further into PHP_CodeSniffer right now |
28 | 28 | * |
29 | - * @return array |
|
29 | + * @return integer[] |
|
30 | 30 | */ |
31 | 31 | public function register() |
32 | 32 | { |
@@ -582,7 +582,7 @@ |
||
582 | 582 | /** |
583 | 583 | * Returns an array of tokens this test wants to listen for. |
584 | 584 | * |
585 | - * @return array |
|
585 | + * @return integer[] |
|
586 | 586 | */ |
587 | 587 | public function register() |
588 | 588 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Returns an array of tokens this test wants to listen for. |
41 | 41 | * |
42 | - * @return array |
|
42 | + * @return integer[] |
|
43 | 43 | */ |
44 | 44 | public function register() |
45 | 45 | { |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | /** |
202 | 202 | * Returns an array of tokens this test wants to listen for. |
203 | 203 | * |
204 | - * @return array |
|
204 | + * @return integer[] |
|
205 | 205 | */ |
206 | 206 | public function register() |
207 | 207 | { |
@@ -253,7 +253,6 @@ discard block |
||
253 | 253 | * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. |
254 | 254 | * @param int $stackPtr The position of the function |
255 | 255 | * in the token array. |
256 | - * @param string $function The name of the function. |
|
257 | 256 | * @param string $pattern The pattern used for the match. |
258 | 257 | * |
259 | 258 | * @return void |
@@ -1104,7 +1104,7 @@ |
||
1104 | 1104 | /** |
1105 | 1105 | * Returns an array of tokens this test wants to listen for. |
1106 | 1106 | * |
1107 | - * @return array |
|
1107 | + * @return integer[] |
|
1108 | 1108 | */ |
1109 | 1109 | public function register() |
1110 | 1110 | { |
@@ -153,7 +153,6 @@ |
||
153 | 153 | * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. |
154 | 154 | * @param int $stackPtr The position of the function |
155 | 155 | * in the token array. |
156 | - * @param string $function The name of the function. |
|
157 | 156 | * @param string $pattern The pattern used for the match. |
158 | 157 | * |
159 | 158 | * @return void |
@@ -97,7 +97,6 @@ |
||
97 | 97 | * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. |
98 | 98 | * @param int $stackPtr The position of the function |
99 | 99 | * in the token array. |
100 | - * @param string $function The name of the function. |
|
101 | 100 | * |
102 | 101 | * @return void |
103 | 102 | */ |
@@ -145,7 +145,7 @@ |
||
145 | 145 | * Assert no violation (warning or error) on a given line number |
146 | 146 | * |
147 | 147 | * @param PHP_CodeSniffer_File $file Codesniffer File object |
148 | - * @param mixed $lineNumber Line number |
|
148 | + * @param integer $lineNumber Line number |
|
149 | 149 | * @return bool |
150 | 150 | */ |
151 | 151 | public function assertNoViolation(PHP_CodeSniffer_File $file, $lineNumber = 0) |