@@ -31,7 +31,7 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Returns an array of tokens this test wants to listen for. |
| 33 | 33 | * |
| 34 | - * @return array |
|
| 34 | + * @return string[] |
|
| 35 | 35 | */ |
| 36 | 36 | public function register() |
| 37 | 37 | { |
@@ -326,7 +326,7 @@ |
||
| 326 | 326 | * @param int $end The end of the value definition (inclusive), |
| 327 | 327 | * i.e. this token will be examined as part of |
| 328 | 328 | * the snippet. |
| 329 | - * @param bool $nestedArrays Optional. Array nesting level when examining |
|
| 329 | + * @param integer $nestedArrays Optional. Array nesting level when examining |
|
| 330 | 330 | * the content of an array. |
| 331 | 331 | * |
| 332 | 332 | * @return bool |
@@ -301,7 +301,7 @@ |
||
| 301 | 301 | /** |
| 302 | 302 | * Get an array of the non-PHP-version array keys used in a sub-array. |
| 303 | 303 | * |
| 304 | - * @return array |
|
| 304 | + * @return string[] |
|
| 305 | 305 | */ |
| 306 | 306 | protected function getNonVersionArrayKeys() |
| 307 | 307 | { |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | * |
| 36 | 36 | * @since 9.1.0 |
| 37 | 37 | * |
| 38 | - * @return array |
|
| 38 | + * @return integer[] |
|
| 39 | 39 | */ |
| 40 | 40 | public function register() |
| 41 | 41 | { |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | * |
| 60 | 60 | * @param string $class The name of the class to load. |
| 61 | 61 | * |
| 62 | - * @return bool |
|
| 62 | + * @return null|boolean |
|
| 63 | 63 | */ |
| 64 | 64 | public static function load($class) |
| 65 | 65 | { |
@@ -220,7 +220,7 @@ discard block |
||
| 220 | 220 | /** |
| 221 | 221 | * Retrieve the namespaces and paths registered by external standards. |
| 222 | 222 | * |
| 223 | - * @return array |
|
| 223 | + * @return string[] |
|
| 224 | 224 | */ |
| 225 | 225 | public static function getSearchPaths() |
| 226 | 226 | { |
@@ -705,7 +705,7 @@ discard block |
||
| 705 | 705 | * @param string $error The error message. |
| 706 | 706 | * @param int $line The line on which the error occurred. |
| 707 | 707 | * @param string $code A violation code unique to the sniff message. |
| 708 | - * @param array $data Replacements for the error message. |
|
| 708 | + * @param string[] $data Replacements for the error message. |
|
| 709 | 709 | * @param int $severity The severity level for this error. A value of 0 |
| 710 | 710 | * will be converted into the default severity level. |
| 711 | 711 | * |
@@ -729,7 +729,7 @@ discard block |
||
| 729 | 729 | * @param string $warning The error message. |
| 730 | 730 | * @param int $line The line on which the warning occurred. |
| 731 | 731 | * @param string $code A violation code unique to the sniff message. |
| 732 | - * @param array $data Replacements for the warning message. |
|
| 732 | + * @param string[] $data Replacements for the warning message. |
|
| 733 | 733 | * @param int $severity The severity level for this warning. A value of 0 will |
| 734 | 734 | * will be converted into the default severity level. |
| 735 | 735 | * |
@@ -195,7 +195,7 @@ |
||
| 195 | 195 | /** |
| 196 | 196 | * Return the file path of the current file being processed. |
| 197 | 197 | * |
| 198 | - * @return void |
|
| 198 | + * @return string |
|
| 199 | 199 | */ |
| 200 | 200 | public function key() |
| 201 | 201 | { |
@@ -342,7 +342,7 @@ discard block |
||
| 342 | 342 | /** |
| 343 | 343 | * Start recording actions for a changeset. |
| 344 | 344 | * |
| 345 | - * @return void |
|
| 345 | + * @return false|null |
|
| 346 | 346 | */ |
| 347 | 347 | public function beginChangeset() |
| 348 | 348 | { |
@@ -369,7 +369,7 @@ discard block |
||
| 369 | 369 | /** |
| 370 | 370 | * Stop recording actions for a changeset, and apply logged changes. |
| 371 | 371 | * |
| 372 | - * @return boolean |
|
| 372 | + * @return false|null |
|
| 373 | 373 | */ |
| 374 | 374 | public function endChangeset() |
| 375 | 375 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | * its data should be counted in the grand totals. |
| 30 | 30 | * |
| 31 | 31 | * @param array $report Prepared report data. |
| 32 | - * @param \PHP_CodeSniffer\File $phpcsFile The file being reported on. |
|
| 32 | + * @param File $phpcsFile The file being reported on. |
|
| 33 | 33 | * @param bool $showSources Show sources? |
| 34 | 34 | * @param int $width Maximum allowed line width. |
| 35 | 35 | * |