Fix some incomplete PHPDocs in Revision and related

Change-Id: I295332b987a553f6b55b2fbab463c44ae05c6c8d
This commit is contained in:
Thiemo Kreuz 2020-03-05 16:05:35 +01:00
parent ee5892141b
commit 0904c27af9
4 changed files with 5 additions and 7 deletions

View file

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

View file

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

View file

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

View file

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