@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Returns an array of tokens this test wants to listen for. |
28 | 28 | * |
29 | - * @return array |
|
29 | + * @return integer[] |
|
30 | 30 | */ |
31 | 31 | public function register() |
32 | 32 | { |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * @param int $stackPtr The position of the current token in the |
41 | 41 | * stack passed in $tokens. |
42 | 42 | * |
43 | - * @return void |
|
43 | + * @return null|false |
|
44 | 44 | */ |
45 | 45 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
46 | 46 | { |
@@ -42,7 +42,7 @@ |
||
42 | 42 | * @param int $stackPtr The position of the current token in the |
43 | 43 | * stack passed in $tokens. |
44 | 44 | * |
45 | - * @return void |
|
45 | + * @return false|null |
|
46 | 46 | */ |
47 | 47 | public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) |
48 | 48 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | /** |
62 | 62 | * Returns an array of tokens this test wants to listen for. |
63 | 63 | * |
64 | - * @return array |
|
64 | + * @return integer[] |
|
65 | 65 | */ |
66 | 66 | public function register() |
67 | 67 | { |
@@ -133,7 +133,7 @@ discard block |
||
133 | 133 | * @param int $stackPtr The position of the function |
134 | 134 | * in the token array. |
135 | 135 | * @param string $function The name of the function. |
136 | - * @param string $pattern The pattern used for the match. |
|
136 | + * @param integer $parameterLocation |
|
137 | 137 | * |
138 | 138 | * @return void |
139 | 139 | */ |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | * Assert no violation (warning or error) on a given line number |
143 | 143 | * |
144 | 144 | * @param PHP_CodeSniffer_File $file Codesniffer File object |
145 | - * @param mixed $lineNumber Line number |
|
145 | + * @param integer $lineNumber Line number |
|
146 | 146 | * @return bool |
147 | 147 | */ |
148 | 148 | public function assertNoViolation(PHP_CodeSniffer_File $file, $lineNumber = 0) |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | /** |
232 | 232 | * Gather all messages or a particular type by line number. |
233 | 233 | * |
234 | - * @param array $IssuesArray Array of a particular type of issues, |
|
234 | + * @param array $issuesArray Array of a particular type of issues, |
|
235 | 235 | * i.e. errors or warnings. |
236 | 236 | * @return array |
237 | 237 | */ |