diff options
author | Andreas Fischer <bantu@phpbb.com> | 2012-12-01 12:21:29 +0100 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2012-12-01 12:21:29 +0100 |
commit | 1ceb1f759d118a2b52ba61f2a0b6319e7c0adf12 (patch) | |
tree | b1d9310b642fa2a528558b80632b797f550e9477 /code_sniffer/phpbb/Sniffs/Commenting | |
parent | 7a77edf25e3c3dbf0730b176f22616206af81625 (diff) | |
parent | e5e8087bebdae8c4da2e59e9afd984d6a2008caf (diff) | |
download | forums-1ceb1f759d118a2b52ba61f2a0b6319e7c0adf12.tar forums-1ceb1f759d118a2b52ba61f2a0b6319e7c0adf12.tar.gz forums-1ceb1f759d118a2b52ba61f2a0b6319e7c0adf12.tar.bz2 forums-1ceb1f759d118a2b52ba61f2a0b6319e7c0adf12.tar.xz forums-1ceb1f759d118a2b52ba61f2a0b6319e7c0adf12.zip |
Merge remote-tracking branch 'p/ticket/11227' into develop
* p/ticket/11227:
[ticket/11227] @return void -> @return null in code sniffer.
[ticket/11227] @return void -> @return null, per coding guidelines.
Diffstat (limited to 'code_sniffer/phpbb/Sniffs/Commenting')
-rw-r--r-- | code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php b/code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php index ba2b40ecba..68e9e6bb86 100644 --- a/code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php +++ b/code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php @@ -35,7 +35,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff * @param int $stackPtr The position of the current token * in the stack passed in $tokens. * - * @return void + * @return null */ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr) { @@ -120,7 +120,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff * @param integer The stack pointer for the first comment token. * @param array(string=>array) $tags The found file doc comment tags. * - * @return void + * @return null */ protected function processPackage(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags) { @@ -143,7 +143,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff * @param integer The stack pointer for the first comment token. * @param array(string=>array) $tags The found file doc comment tags. * - * @return void + * @return null */ protected function processVersion(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags) { @@ -166,7 +166,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff * @param integer The stack pointer for the first comment token. * @param array(string=>array) $tags The found file doc comment tags. * - * @return void + * @return null */ protected function processCopyright(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags) { @@ -189,7 +189,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff * @param integer The stack pointer for the first comment token. * @param array(string=>array) $tags The found file doc comment tags. * - * @return void + * @return null */ protected function processLicense(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags) { |