Improve some parameter docs

Change-Id: Ib81e443362b506772d6b7df1815baaa9f94fa5a6
This commit is contained in:
Umherirrender 2017-10-06 21:29:48 +02:00
parent 7960df75ca
commit 9b6bbc99d0
3 changed files with 7 additions and 11 deletions

View file

@ -3,10 +3,10 @@
class CiteThisPageHooks {
/**
* @param SkinTemplate $skintemplate
* @param $nav_urls
* @param $oldid
* @param $revid
* @param SkinTemplate &$skintemplate
* @param array &$nav_urls
* @param int &$oldid
* @param int &$revid
* @return bool
*/
public static function onSkinTemplateBuildNavUrlsNav_urlsAfterPermalink(
@ -49,7 +49,7 @@ class CiteThisPageHooks {
/**
* @param BaseTemplate $baseTemplate
* @param array $toolbox
* @param array &$toolbox
* @return bool
*/
public static function onBaseTemplateToolbox( BaseTemplate $baseTemplate, array &$toolbox ) {

View file

@ -17,7 +17,7 @@ class SpecialCiteThisPage extends FormSpecialPage {
}
/**
* @param $par string
* @param string $par
*/
public function execute( $par ) {
$this->setHeaders();

View file

@ -2,9 +2,6 @@
<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.ParamNameNoMatch" />
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationProtected" />
<exclude name="MediaWiki.Commenting.FunctionComment.MissingDocumentationPublic" />
@ -12,6 +9,5 @@
</rule>
<file>.</file>
<arg name="extensions" value="php,php5,inc" />
<arg name="encoding" value="utf8" />
<exclude-pattern>vendor</exclude-pattern>
<arg name="encoding" value="UTF-8" />
</ruleset>