Completed
Branch master (8850f3)
by
unknown
38:32
created
includes/Revision.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
 	/**
435 435
 	 * Return the list of revision fields that should be selected to create
436 436
 	 * a new revision.
437
-	 * @return array
437
+	 * @return string[]
438 438
 	 */
439 439
 	public static function selectFields() {
440 440
 		global $wgContentHandlerUseDB;
@@ -465,7 +465,7 @@  discard block
 block discarded – undo
465 465
 	/**
466 466
 	 * Return the list of revision fields that should be selected to create
467 467
 	 * a new revision from an archive row.
468
-	 * @return array
468
+	 * @return string[]
469 469
 	 */
470 470
 	public static function selectArchiveFields() {
471 471
 		global $wgContentHandlerUseDB;
@@ -496,7 +496,7 @@  discard block
 block discarded – undo
496 496
 	/**
497 497
 	 * Return the list of text fields that should be selected to read the
498 498
 	 * revision text
499
-	 * @return array
499
+	 * @return string[]
500 500
 	 */
501 501
 	public static function selectTextFields() {
502 502
 		return [
@@ -507,7 +507,7 @@  discard block
 block discarded – undo
507 507
 
508 508
 	/**
509 509
 	 * Return the list of page fields that should be selected from page table
510
-	 * @return array
510
+	 * @return string[]
511 511
 	 */
512 512
 	public static function selectPageFields() {
513 513
 		return [
@@ -522,7 +522,7 @@  discard block
 block discarded – undo
522 522
 
523 523
 	/**
524 524
 	 * Return the list of user fields that should be selected from user table
525
-	 * @return array
525
+	 * @return string[]
526 526
 	 */
527 527
 	public static function selectUserFields() {
528 528
 		return [ 'user_name' ];
@@ -870,7 +870,7 @@  discard block
 block discarded – undo
870 870
 	/**
871 871
 	 * Fetch revision's user id without regard for the current user's permissions
872 872
 	 *
873
-	 * @return string
873
+	 * @return integer
874 874
 	 * @deprecated since 1.25, use getUser( Revision::RAW )
875 875
 	 */
876 876
 	public function getRawUser() {
@@ -1787,7 +1787,7 @@  discard block
 block discarded – undo
1787 1787
 	 *
1788 1788
 	 * @param Title $title
1789 1789
 	 * @param int $id
1790
-	 * @return string|bool False if not found
1790
+	 * @return string|false False if not found
1791 1791
 	 */
1792 1792
 	static function getTimestampFromId( $title, $id, $flags = 0 ) {
1793 1793
 		$db = ( $flags & self::READ_LATEST )
@@ -1843,7 +1843,7 @@  discard block
 block discarded – undo
1843 1843
 	 * @since 1.20
1844 1844
 	 * @deprecated since 1.24
1845 1845
 	 *
1846
-	 * @param IDatabase|int $db The Database to perform the check on. May be given as a
1846
+	 * @param integer $db The Database to perform the check on. May be given as a
1847 1847
 	 *        Database object or a database identifier usable with wfGetDB.
1848 1848
 	 * @param int $pageId The ID of the page in question
1849 1849
 	 * @param int $userId The ID of the user in question
Please login to merge, or discard this patch.