mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CiteThisPage
synced 2024-11-23 23:24:09 +00:00
Improve some parameter docs
Change-Id: Ib81e443362b506772d6b7df1815baaa9f94fa5a6
This commit is contained in:
parent
7960df75ca
commit
9b6bbc99d0
|
@ -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 ) {
|
||||
|
|
|
@ -17,7 +17,7 @@ class SpecialCiteThisPage extends FormSpecialPage {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param $par string
|
||||
* @param string $par
|
||||
*/
|
||||
public function execute( $par ) {
|
||||
$this->setHeaders();
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue