aboutsummaryrefslogtreecommitdiffstats
path: root/code_sniffer
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-11-30 23:03:48 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-30 23:03:48 -0500
commite5e8087bebdae8c4da2e59e9afd984d6a2008caf (patch)
tree5783f7043f634189feec541b1800050a1f275d10 /code_sniffer
parentec4343c7447911c7e822a03c0f57fc2bb1c4ab3d (diff)
downloadforums-e5e8087bebdae8c4da2e59e9afd984d6a2008caf.tar
forums-e5e8087bebdae8c4da2e59e9afd984d6a2008caf.tar.gz
forums-e5e8087bebdae8c4da2e59e9afd984d6a2008caf.tar.bz2
forums-e5e8087bebdae8c4da2e59e9afd984d6a2008caf.tar.xz
forums-e5e8087bebdae8c4da2e59e9afd984d6a2008caf.zip
[ticket/11227] @return void -> @return null in code sniffer.
PHPBB3-11227
Diffstat (limited to 'code_sniffer')
-rw-r--r--code_sniffer/phpbb/Sniffs/Commenting/FileCommentSniff.php10
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)
{