Fix some incomplete PHPDocs in Revision and related
Change-Id: I295332b987a553f6b55b2fbab463c44ae05c6c8d
This commit is contained in:
parent
ee5892141b
commit
0904c27af9
4 changed files with 5 additions and 7 deletions
|
|
@ -957,7 +957,7 @@ class Revision implements IDBAccessObject {
|
|||
*
|
||||
* @deprecated since 1.31 (soft), 1.35 (hard)
|
||||
*
|
||||
* @param mixed &$text Reference to a text
|
||||
* @param string &$text
|
||||
* @return string
|
||||
*/
|
||||
public static function compressRevisionText( &$text ) {
|
||||
|
|
@ -970,7 +970,7 @@ class Revision implements IDBAccessObject {
|
|||
*
|
||||
* @deprecated since 1.31 (soft), 1.35 (hard)
|
||||
*
|
||||
* @param mixed $text Reference to a text
|
||||
* @param string|false $text
|
||||
* @param array $flags Compression flags
|
||||
* @return string|bool Decompressed text, or false on failure
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -525,7 +525,7 @@ class SqlBlobStore implements IDBAccessObject, BlobStore {
|
|||
* @note direct use is deprecated!
|
||||
* @todo make this private, there should be no need to use this method outside this class.
|
||||
*
|
||||
* @param mixed &$blob Reference to a text
|
||||
* @param string &$blob
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -153,8 +153,7 @@ class Article implements Page {
|
|||
private $mRevisionRecord = null;
|
||||
|
||||
/**
|
||||
* Constructor and clear the article
|
||||
* @param Title $title Reference to a Title object.
|
||||
* @param Title $title
|
||||
* @param int|null $oldId Revision ID, null to fetch from request, zero for current
|
||||
*/
|
||||
public function __construct( Title $title, $oldId = null ) {
|
||||
|
|
|
|||
|
|
@ -120,8 +120,7 @@ class WikiPage implements Page, IDBAccessObject {
|
|||
private $derivedDataUpdater = null;
|
||||
|
||||
/**
|
||||
* Constructor and clear the article
|
||||
* @param Title $title Reference to a Title object.
|
||||
* @param Title $title
|
||||
*/
|
||||
public function __construct( Title $title ) {
|
||||
$this->mTitle = $title;
|
||||
|
|
|
|||
Loading…
Reference in a new issue