@@ -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 | { |
@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | /** |
22 | 22 | * Returns an array of tokens this test wants to listen for. |
23 | 23 | * |
24 | - * @return array |
|
24 | + * @return integer[] |
|
25 | 25 | */ |
26 | 26 | public function register() |
27 | 27 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | /** |
102 | 102 | * Could the current token an potentially be a binary integer ? |
103 | 103 | * |
104 | - * @param array $token Token stack. |
|
104 | + * @param array $tokens Token stack. |
|
105 | 105 | * @param int $stackPtr The current position in the token stack. |
106 | 106 | * |
107 | 107 | * @return bool |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * Is the current token an invalid binary integer ? |
128 | 128 | * |
129 | - * @param array $token Token stack. |
|
129 | + * @param array $tokens Token stack. |
|
130 | 130 | * @param int $stackPtr The current position in the token stack. |
131 | 131 | * |
132 | 132 | * @return bool |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | * Retrieve the content of the tokens which together look like a binary integer. |
150 | 150 | * |
151 | 151 | * @param PHP_CodeSniffer_File $phpcsFile The file being scanned. |
152 | - * @param array $token Token stack. |
|
152 | + * @param array $tokens Token stack. |
|
153 | 153 | * @param int $stackPtr The position of the current token in |
154 | 154 | * the stack. |
155 | 155 | * |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | /** |
173 | 173 | * Is the current token an invalid octal integer ? |
174 | 174 | * |
175 | - * @param array $token Token stack. |
|
175 | + * @param array $tokens Token stack. |
|
176 | 176 | * @param int $stackPtr The current position in the token stack. |
177 | 177 | * |
178 | 178 | * @return bool |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | /** |
191 | 191 | * Is the current token a hexidecimal numeric string ? |
192 | 192 | * |
193 | - * @param array $token Token stack. |
|
193 | + * @param array $tokens Token stack. |
|
194 | 194 | * @param int $stackPtr The current position in the token stack. |
195 | 195 | * |
196 | 196 | * @return bool |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | * Assert no violation (warning or error) on a given line number |
174 | 174 | * |
175 | 175 | * @param PHP_CodeSniffer_File $file Codesniffer File object |
176 | - * @param mixed $lineNumber Line number |
|
176 | + * @param integer $lineNumber Line number |
|
177 | 177 | * @return bool |
178 | 178 | */ |
179 | 179 | public function assertNoViolation(PHP_CodeSniffer_File $file, $lineNumber = 0) |
@@ -262,7 +262,7 @@ discard block |
||
262 | 262 | /** |
263 | 263 | * Gather all messages or a particular type by line number. |
264 | 264 | * |
265 | - * @param array $IssuesArray Array of a particular type of issues, |
|
265 | + * @param array $issuesArray Array of a particular type of issues, |
|
266 | 266 | * i.e. errors or warnings. |
267 | 267 | * @return array |
268 | 268 | */ |
@@ -26,10 +26,6 @@ |
||
26 | 26 | * @dataProvider dataParameterShadowSuperGlobals |
27 | 27 | * |
28 | 28 | * @param int $line Line number where the error should occur. |
29 | - * @param string $octal (Start of) Binary number as a string. |
|
30 | - * @param bool $testNoViolation Whether or not to test for noViolation. |
|
31 | - * Defaults to true. Set to false if another error is |
|
32 | - * expected on the same line (invalid binary) |
|
33 | 29 | * |
34 | 30 | * @return void |
35 | 31 | */ |
@@ -46,7 +46,6 @@ |
||
46 | 46 | * @dataProvider dataBinaryInteger |
47 | 47 | * |
48 | 48 | * @param int $line Line number where the error should occur. |
49 | - * @param string $octal (Start of) Binary number as a string. |
|
50 | 49 | * @param bool $testNoViolation Whether or not to test for noViolation. |
51 | 50 | * Defaults to true. Set to false if another error is |
52 | 51 | * expected on the same line (invalid binary) |
@@ -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 | { |