Improve some parameter docs

Change-Id: I1dc282082769a67a07ffdfa17b6dfe72e22594bc
This commit is contained in:
Umherirrender 2017-10-11 21:11:39 +02:00
parent 73abf2a25d
commit b95b4586b8
2 changed files with 4 additions and 8 deletions

View File

@ -25,6 +25,7 @@ class SpecialContact extends UnlistedSpecialPage {
$wgContactConfig['default']['SenderName'] = "Contact Form on $wgSitename";
}
}
/**
* Constructor
*/
@ -33,7 +34,7 @@ class SpecialContact extends UnlistedSpecialPage {
}
/**
* @see SpecialPage::getDescription
* @inheritDoc
*/
function getDescription() {
return $this->msg( 'contactpage' )->text();
@ -58,7 +59,7 @@ class SpecialContact extends UnlistedSpecialPage {
/**
* Main execution function
*
* @param $par Mixed: Parameters passed to the page
* @param string|null $par Parameters passed to the page
* @throws UserBlockedError
* @throws ErrorPageError
*/

View File

@ -2,15 +2,10 @@
<ruleset>
<rule ref="./vendor/mediawiki/mediawiki-codesniffer/MediaWiki">
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
<exclude name="MediaWiki.WhiteSpace.SpaceBeforeSingleLineComment.NewLineComment" />
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />
<arg name="encoding" value="utf8" />
<exclude-pattern>vendor</exclude-pattern>
<exclude-pattern>node_modules</exclude-pattern>
<arg name="encoding" value="UTF-8" />
</ruleset>