@@ -866,7 +866,7 @@ discard block |
||
| 866 | 866 | * @param string $error The error message. |
| 867 | 867 | * @param int $line The line on which the error occurred. |
| 868 | 868 | * @param string $code A violation code unique to the sniff message. |
| 869 | - * @param array $data Replacements for the error message. |
|
| 869 | + * @param string[] $data Replacements for the error message. |
|
| 870 | 870 | * @param int $severity The severity level for this error. A value of 0 will be converted into the default severity level. |
| 871 | 871 | * will be converted into the default severity level. |
| 872 | 872 | * |
@@ -890,7 +890,7 @@ discard block |
||
| 890 | 890 | * @param string $warning The error message. |
| 891 | 891 | * @param int $line The line on which the warning occurred. |
| 892 | 892 | * @param string $code A violation code unique to the sniff message. |
| 893 | - * @param array $data Replacements for the warning message. |
|
| 893 | + * @param string[] $data Replacements for the warning message. |
|
| 894 | 894 | * @param int $severity The severity level for this warning. A value of 0 will be converted into the default severity level. |
| 895 | 895 | * will be converted into the default severity level. |
| 896 | 896 | * |
@@ -193,7 +193,7 @@ |
||
| 193 | 193 | /** |
| 194 | 194 | * Return the file path of the current file being processed. |
| 195 | 195 | * |
| 196 | - * @return void |
|
| 196 | + * @return string |
|
| 197 | 197 | */ |
| 198 | 198 | function key() |
| 199 | 199 | { |
@@ -356,7 +356,7 @@ discard block |
||
| 356 | 356 | /** |
| 357 | 357 | * Start recording actions for a changeset. |
| 358 | 358 | * |
| 359 | - * @return void |
|
| 359 | + * @return false|null |
|
| 360 | 360 | */ |
| 361 | 361 | public function beginChangeset() |
| 362 | 362 | { |
@@ -383,7 +383,7 @@ discard block |
||
| 383 | 383 | /** |
| 384 | 384 | * Stop recording actions for a changeset, and apply logged changes. |
| 385 | 385 | * |
| 386 | - * @return boolean |
|
| 386 | + * @return false|null |
|
| 387 | 387 | */ |
| 388 | 388 | public function endChangeset() |
| 389 | 389 | { |
@@ -27,11 +27,11 @@ |
||
| 27 | 27 | * its data should be counted in the grand totals. |
| 28 | 28 | * |
| 29 | 29 | * @param array $report Prepared report data. |
| 30 | - * @param \PHP_CodeSniffer\File $phpcsFile The file being reported on. |
|
| 30 | + * @param File $phpcsFile The file being reported on. |
|
| 31 | 31 | * @param bool $showSources Show sources? |
| 32 | 32 | * @param int $width Maximum allowed line width. |
| 33 | 33 | * |
| 34 | - * @return bool |
|
| 34 | + * @return null|boolean |
|
| 35 | 35 | */ |
| 36 | 36 | public function generateFileReport($report, File $phpcsFile, $showSources=false, $width=80) |
| 37 | 37 | { |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * its data should be counted in the grand totals. |
| 25 | 25 | * |
| 26 | 26 | * @param array $report Prepared report data. |
| 27 | - * @param \PHP_CodeSniffer\File $phpcsFile The file being reported on. |
|
| 27 | + * @param File $phpcsFile The file being reported on. |
|
| 28 | 28 | * @param bool $showSources Show sources? |
| 29 | 29 | * @param int $width Maximum allowed line width. |
| 30 | 30 | * |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * its data should be counted in the grand totals. |
| 25 | 25 | * |
| 26 | 26 | * @param array $report Prepared report data. |
| 27 | - * @param \PHP_CodeSniffer\File $phpcsFile The file being reported on. |
|
| 27 | + * @param File $phpcsFile The file being reported on. |
|
| 28 | 28 | * @param bool $showSources Show sources? |
| 29 | 29 | * @param int $width Maximum allowed line width. |
| 30 | 30 | * |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * its data should be counted in the grand totals. |
| 25 | 25 | * |
| 26 | 26 | * @param array $report Prepared report data. |
| 27 | - * @param \PHP_CodeSniffer\File $phpcsFile The file being reported on. |
|
| 27 | + * @param File $phpcsFile The file being reported on. |
|
| 28 | 28 | * @param bool $showSources Show sources? |
| 29 | 29 | * @param int $width Maximum allowed line width. |
| 30 | 30 | * |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | * its data should be counted in the grand totals. |
| 26 | 26 | * |
| 27 | 27 | * @param array $report Prepared report data. |
| 28 | - * @param \PHP_CodeSniffer\File $phpcsFile The file being reported on. |
|
| 28 | + * @param File $phpcsFile The file being reported on. |
|
| 29 | 29 | * @param bool $showSources Show sources? |
| 30 | 30 | * @param int $width Maximum allowed line width. |
| 31 | 31 | * |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * its data should be counted in the grand totals. |
| 25 | 25 | * |
| 26 | 26 | * @param array $report Prepared report data. |
| 27 | - * @param \PHP_CodeSniffer\File $phpcsFile The file being reported on. |
|
| 27 | + * @param File $phpcsFile The file being reported on. |
|
| 28 | 28 | * @param bool $showSources Show sources? |
| 29 | 29 | * @param int $width Maximum allowed line width. |
| 30 | 30 | * |