mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-27 17:20:40 +00:00
Minor PHPdoc fixes
Change-Id: I037df8d0bd13dd7a8201fd1408bb2f642f9786b6
This commit is contained in:
parent
bab8145f06
commit
713c28e861
|
@ -91,6 +91,7 @@ class ApiEchoArticleReminder extends ApiBase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see ApiBase::getExamplesMessages()
|
* @see ApiBase::getExamplesMessages()
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function getExamplesMessages() {
|
protected function getExamplesMessages() {
|
||||||
$todayDate = new DateTime();
|
$todayDate = new DateTime();
|
||||||
|
|
|
@ -93,6 +93,7 @@ class ApiEchoMarkRead extends ApiBase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see ApiBase::getExamplesMessages()
|
* @see ApiBase::getExamplesMessages()
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function getExamplesMessages() {
|
protected function getExamplesMessages() {
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -66,6 +66,7 @@ class ApiEchoMarkSeen extends ApiBase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see ApiBase::getExamplesMessages()
|
* @see ApiBase::getExamplesMessages()
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function getExamplesMessages() {
|
protected function getExamplesMessages() {
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -199,6 +199,7 @@ class ApiEchoUnreadNotificationPages extends ApiCrossWikiBase {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see ApiBase::getExamplesMessages()
|
* @see ApiBase::getExamplesMessages()
|
||||||
|
* @return array
|
||||||
*/
|
*/
|
||||||
protected function getExamplesMessages() {
|
protected function getExamplesMessages() {
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -30,6 +30,7 @@ class EchoNotificationDeleteJob extends Job {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Run the job of finding & deleting older notifications
|
* Run the job of finding & deleting older notifications
|
||||||
|
* @return true
|
||||||
*/
|
*/
|
||||||
public function run() {
|
public function run() {
|
||||||
global $wgEchoMaxUpdateCount;
|
global $wgEchoMaxUpdateCount;
|
||||||
|
|
|
@ -7,6 +7,7 @@ use OOUI\LabelElement;
|
||||||
use OOUI\TitledElement;
|
use OOUI\TitledElement;
|
||||||
use OOUI\Tag;
|
use OOUI\Tag;
|
||||||
use OOUI\Widget;
|
use OOUI\Widget;
|
||||||
|
use OOUI\HtmlSnippet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Widget combining a label and icon
|
* Widget combining a label and icon
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamComment" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamName" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
<exclude name="MediaWiki.Commenting.FunctionComment.MissingParamTag" />
|
||||||
<exclude name="MediaWiki.Commenting.FunctionComment.MissingReturn" />
|
|
||||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.NotMatch" />
|
||||||
<exclude name="MediaWiki.Files.ClassMatchesFilename.WrongCase" />
|
<exclude name="MediaWiki.Files.ClassMatchesFilename.WrongCase" />
|
||||||
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
<exclude name="MediaWiki.Files.OneClassPerFile.MultipleFound" />
|
||||||
|
|
Loading…
Reference in a new issue