Remove wrong @return from doc blocks
These functions actually does not return anything, so the @return is wrong here. '@return void' is ignored. Change-Id: I11495ee05b943c16c1c4715d617c8b50de22276c
This commit is contained in:
parent
e1c1832588
commit
b409008ca5
7 changed files with 0 additions and 9 deletions
|
|
@ -596,7 +596,6 @@ class Block {
|
|||
*
|
||||
* @param Block $block
|
||||
* @param array &$blockIds
|
||||
* @return array Block IDs of retroactive autoblocks made
|
||||
*/
|
||||
protected static function defaultRetroactiveAutoblock( Block $block, array &$blockIds ) {
|
||||
global $wgPutIPinRC;
|
||||
|
|
|
|||
|
|
@ -2758,7 +2758,6 @@ class EditPage {
|
|||
* up top, or false if this is the comment summary
|
||||
* down below the textarea
|
||||
* @param string $summary The text of the summary to display
|
||||
* @return string
|
||||
*/
|
||||
protected function showSummaryInput( $isSubjectPreview, $summary = "" ) {
|
||||
global $wgOut, $wgContLang;
|
||||
|
|
|
|||
|
|
@ -1494,9 +1494,6 @@ class WikiRevision {
|
|||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return mixed
|
||||
*/
|
||||
function importLogItem() {
|
||||
$dbw = wfGetDB( DB_MASTER );
|
||||
# @todo FIXME: This will not record autoblocks
|
||||
|
|
|
|||
|
|
@ -901,7 +901,6 @@ abstract class DatabaseMysqlBase extends DatabaseBase {
|
|||
|
||||
/**
|
||||
* @param bool $value
|
||||
* @return null|bool|ResultWrapper
|
||||
*/
|
||||
public function setBigSelects( $value = true ) {
|
||||
if ( $value === 'default' ) {
|
||||
|
|
|
|||
|
|
@ -182,7 +182,6 @@ class MWDebug {
|
|||
* @param int $callerOffset How far up the callstack is the original
|
||||
* caller. 2 = function that called the function that called
|
||||
* MWDebug::deprecated() (Added in 1.20).
|
||||
* @return mixed
|
||||
*/
|
||||
public static function deprecated( $function, $version = false,
|
||||
$component = false, $callerOffset = 2
|
||||
|
|
|
|||
|
|
@ -117,7 +117,6 @@ class SpecialNewpages extends IncludableSpecialPage {
|
|||
* Show a form for filtering namespace and username
|
||||
*
|
||||
* @param string $par
|
||||
* @return string
|
||||
*/
|
||||
public function execute( $par ) {
|
||||
$out = $this->getOutput();
|
||||
|
|
|
|||
|
|
@ -345,7 +345,6 @@ class CheckSyntax extends Maintenance {
|
|||
* or pointless ?> closing tags at the end.
|
||||
*
|
||||
* @param string $file String Path to a file to check for errors
|
||||
* @return bool
|
||||
*/
|
||||
private function checkForMistakes( $file ) {
|
||||
foreach ( $this->mNoStyleCheckPaths as $regex ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue