Merge "Improve param docs"

This commit is contained in:
jenkins-bot 2019-12-15 19:36:33 +00:00 committed by Gerrit Code Review
commit e5d00d0d9c
2 changed files with 6 additions and 6 deletions

View file

@ -17,13 +17,13 @@ use MediaWiki\MediaWikiServices;
* Implements a title blacklist for MediaWiki
*/
class TitleBlacklist {
/** @var TitleBlacklistEntry[] */
/** @var TitleBlacklistEntry[]|null */
private $mBlacklist = null;
/** @var TitleBlacklistEntry[] */
/** @var TitleBlacklistEntry[]|null */
private $mWhitelist = null;
/** @var TitleBlacklist */
/** @var TitleBlacklist|null */
protected static $instance = null;
const VERSION = 3; // Blacklist format

View file

@ -37,7 +37,7 @@ class TitleBlacklistEntry {
/**
* Entry format version
* @var string
* @var int
*/
private $mFormatVersion;
@ -264,7 +264,7 @@ class TitleBlacklistEntry {
}
/**
* @return string The format version
* @return int The format version
*/
public function getFormatVersion() {
return $this->mFormatVersion;
@ -273,7 +273,7 @@ class TitleBlacklistEntry {
/**
* Set the format version
*
* @param string $v New version to set
* @param int $v New version to set
*/
public function setFormatVersion( $v ) {
$this->mFormatVersion = $v;