mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/11227] @return void -> @return null in code sniffer.
PHPBB3-11227
This commit is contained in:
@@ -35,7 +35,7 @@ class phpbb_Sniffs_Commenting_FileCommentSniff implements PHP_CodeSniffer_Sniff
|
|||||||
* @param int $stackPtr The position of the current token
|
* @param int $stackPtr The position of the current token
|
||||||
* in the stack passed in $tokens.
|
* in the stack passed in $tokens.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return null
|
||||||
*/
|
*/
|
||||||
public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)
|
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 integer The stack pointer for the first comment token.
|
||||||
* @param array(string=>array) $tags The found file doc comment tags.
|
* @param array(string=>array) $tags The found file doc comment tags.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return null
|
||||||
*/
|
*/
|
||||||
protected function processPackage(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
|
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 integer The stack pointer for the first comment token.
|
||||||
* @param array(string=>array) $tags The found file doc comment tags.
|
* @param array(string=>array) $tags The found file doc comment tags.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return null
|
||||||
*/
|
*/
|
||||||
protected function processVersion(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
|
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 integer The stack pointer for the first comment token.
|
||||||
* @param array(string=>array) $tags The found file doc comment tags.
|
* @param array(string=>array) $tags The found file doc comment tags.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return null
|
||||||
*/
|
*/
|
||||||
protected function processCopyright(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
|
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 integer The stack pointer for the first comment token.
|
||||||
* @param array(string=>array) $tags The found file doc comment tags.
|
* @param array(string=>array) $tags The found file doc comment tags.
|
||||||
*
|
*
|
||||||
* @return void
|
* @return null
|
||||||
*/
|
*/
|
||||||
protected function processLicense(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
|
protected function processLicense(PHP_CodeSniffer_File $phpcsFile, $ptr, $tags)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user