Minor PHPdoc fixes

Change-Id: I037df8d0bd13dd7a8201fd1408bb2f642f9786b6
This commit is contained in:
WMDE-Fisch 2017-10-13 13:48:05 +02:00
parent bab8145f06
commit 713c28e861
7 changed files with 6 additions and 1 deletions

View file

@ -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();

View file

@ -93,6 +93,7 @@ class ApiEchoMarkRead extends ApiBase {
/** /**
* @see ApiBase::getExamplesMessages() * @see ApiBase::getExamplesMessages()
* @return array
*/ */
protected function getExamplesMessages() { protected function getExamplesMessages() {
return [ return [

View file

@ -66,6 +66,7 @@ class ApiEchoMarkSeen extends ApiBase {
/** /**
* @see ApiBase::getExamplesMessages() * @see ApiBase::getExamplesMessages()
* @return array
*/ */
protected function getExamplesMessages() { protected function getExamplesMessages() {
return [ return [

View file

@ -199,6 +199,7 @@ class ApiEchoUnreadNotificationPages extends ApiCrossWikiBase {
/** /**
* @see ApiBase::getExamplesMessages() * @see ApiBase::getExamplesMessages()
* @return array
*/ */
protected function getExamplesMessages() { protected function getExamplesMessages() {
return [ return [

View file

@ -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;

View file

@ -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

View file

@ -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" />