Completed
Branch master (573807)
by
unknown
34:51
created
includes/api/ApiQueryUserContributions.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -447,6 +447,9 @@
 block discarded – undo
447 447
 		return $vals;
448 448
 	}
449 449
 
450
+	/**
451
+	 * @param null|stdClass $row
452
+	 */
450 453
 	private function continueStr( $row ) {
451 454
 		if ( $this->multiUserMode ) {
452 455
 			if ( $this->idMode ) {
Please login to merge, or discard this patch.
includes/exception/MWExceptionRenderer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 	/**
31 31
 	 * @param Exception|Throwable $e Original exception
32 32
 	 * @param integer $mode MWExceptionExposer::AS_* constant
33
-	 * @param Exception|Throwable|null $eNew New exception from attempting to show the first
33
+	 * @param Exception $eNew New exception from attempting to show the first
34 34
 	 */
35 35
 	public static function output( $e, $mode, $eNew = null ) {
36 36
 		global $wgMimeType;
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
 	}
325 325
 
326 326
 	/**
327
-	 * @param Exception|Throwable $e
327
+	 * @param DBConnectionError $e
328 328
 	 */
329 329
 	private static function reportOutageHTML( $e ) {
330 330
 		global $wgShowDBErrorBacktrace, $wgShowHostnames, $wgShowSQLErrors;
Please login to merge, or discard this patch.
includes/libs/rdbms/database/DatabaseMysqlBase.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
 	/**
817 817
 	 * Get the position of the master from SHOW SLAVE STATUS
818 818
 	 *
819
-	 * @return MySQLMasterPos|bool
819
+	 * @return DBMasterPos
820 820
 	 */
821 821
 	function getSlavePos() {
822 822
 		$res = $this->query( 'SHOW SLAVE STATUS', __METHOD__ );
@@ -1012,6 +1012,9 @@  discard block
 block discarded – undo
1012 1012
 		return false;
1013 1013
 	}
1014 1014
 
1015
+	/**
1016
+	 * @param string $lockName
1017
+	 */
1015 1018
 	private function makeLockName( $lockName ) {
1016 1019
 		// http://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html#function_get-lock
1017 1020
 		// Newer version enforce a 64 char length limit.
Please login to merge, or discard this patch.
includes/libs/rdbms/database/resultwrapper/ResultWrapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 	}
123 123
 
124 124
 	/**
125
-	 * @return stdClass|array|bool
125
+	 * @return null|stdClass
126 126
 	 */
127 127
 	function current() {
128 128
 		if ( is_null( $this->currentRow ) ) {
Please login to merge, or discard this patch.
includes/specialpage/ImageQueryPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 	/**
71 71
 	 * Get additional HTML to be shown in a results' cell
72 72
 	 *
73
-	 * @param object $row Result row
73
+	 * @param stdClass $row Result row
74 74
 	 * @return string
75 75
 	 */
76 76
 	protected function getCellHtml( $row ) {
Please login to merge, or discard this patch.
includes/specials/SpecialNewpages.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
 		parent::__construct( 'Newpages' );
40 40
 	}
41 41
 
42
+	/**
43
+	 * @param string $par
44
+	 */
42 45
 	protected function setup( $par ) {
43 46
 		// Options
44 47
 		$opts = new FormOptions();
@@ -439,6 +442,9 @@  discard block
 block discarded – undo
439 442
 		return "$sitename - $desc [$code]";
440 443
 	}
441 444
 
445
+	/**
446
+	 * @param null|stdClass $row
447
+	 */
442 448
 	protected function feedItem( $row ) {
443 449
 		$title = Title::makeTitle( intval( $row->rc_namespace ), $row->rc_title );
444 450
 		if ( $title ) {
@@ -458,6 +464,9 @@  discard block
 block discarded – undo
458 464
 		}
459 465
 	}
460 466
 
467
+	/**
468
+	 * @return string
469
+	 */
461 470
 	protected function feedItemAuthor( $row ) {
462 471
 		return isset( $row->rc_user_text ) ? $row->rc_user_text : '';
463 472
 	}
Please login to merge, or discard this patch.
includes/specials/SpecialUndelete.php 1 patch
Doc Comments   +17 added lines, -3 removed lines patch added patch discarded remove patch
@@ -39,6 +39,9 @@  discard block
 block discarded – undo
39 39
 	/** @var Config */
40 40
 	protected $config;
41 41
 
42
+	/**
43
+	 * @param null|Title $title
44
+	 */
42 45
 	function __construct( $title, Config $config = null ) {
43 46
 		if ( is_null( $title ) ) {
44 47
 			throw new MWException( __METHOD__ . ' given a null title.' );
@@ -1028,6 +1031,9 @@  discard block
 block discarded – undo
1028 1031
 		return true;
1029 1032
 	}
1030 1033
 
1034
+	/**
1035
+	 * @param string|boolean $timestamp
1036
+	 */
1031 1037
 	private function showRevision( $timestamp ) {
1032 1038
 		if ( !preg_match( '/[0-9]{14}/', $timestamp ) ) {
1033 1039
 			return;
@@ -1516,6 +1522,11 @@  discard block
 block discarded – undo
1516 1522
 		return true;
1517 1523
 	}
1518 1524
 
1525
+	/**
1526
+	 * @param null|stdClass $row
1527
+	 * @param string|null $earliestLiveTime
1528
+	 * @param integer $remaining
1529
+	 */
1519 1530
 	protected function formatRevisionRow( $row, $earliestLiveTime, $remaining ) {
1520 1531
 		$rev = Revision::newFromArchiveRow( $row,
1521 1532
 			[
@@ -1610,6 +1621,9 @@  discard block
 block discarded – undo
1610 1621
 		return Xml::tags( 'li', $attribs, $revisionRow ) . "\n";
1611 1622
 	}
1612 1623
 
1624
+	/**
1625
+	 * @param null|stdClass $row
1626
+	 */
1613 1627
 	private function formatFileRow( $row ) {
1614 1628
 		$file = ArchivedFile::newFromRow( $row );
1615 1629
 		$ts = wfTimestamp( TS_MW, $row->fa_timestamp );
@@ -1691,7 +1705,7 @@  discard block
 block discarded – undo
1691 1705
 	/**
1692 1706
 	 * Fetch image view link if it's available to all users
1693 1707
 	 *
1694
-	 * @param File|ArchivedFile $file
1708
+	 * @param ArchivedFile $file
1695 1709
 	 * @param Title $titleObj
1696 1710
 	 * @param string $ts A timestamp
1697 1711
 	 * @param string $key A storage key
@@ -1727,7 +1741,7 @@  discard block
 block discarded – undo
1727 1741
 	/**
1728 1742
 	 * Fetch file's user id if it's available to this user
1729 1743
 	 *
1730
-	 * @param File|ArchivedFile $file
1744
+	 * @param ArchivedFile $file
1731 1745
 	 * @return string HTML fragment
1732 1746
 	 */
1733 1747
 	function getFileUser( $file ) {
@@ -1750,7 +1764,7 @@  discard block
 block discarded – undo
1750 1764
 	/**
1751 1765
 	 * Fetch file upload comment if it's available to this user
1752 1766
 	 *
1753
-	 * @param File|ArchivedFile $file
1767
+	 * @param ArchivedFile $file
1754 1768
 	 * @return string HTML fragment
1755 1769
 	 */
1756 1770
 	function getFileComment( $file ) {
Please login to merge, or discard this patch.
includes/user/UserArrayFromResult.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	}
41 41
 
42 42
 	/**
43
-	 * @param bool|stdClass $row
43
+	 * @param null|stdClass $row
44 44
 	 * @return void
45 45
 	 */
46 46
 	protected function setCurrent( $row ) {
Please login to merge, or discard this patch.
maintenance/namespaceDupes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -570,8 +570,8 @@
 block discarded – undo
570 570
 	/**
571 571
 	 * Merge page histories
572 572
 	 *
573
-	 * @param integer $id The page_id
574 573
 	 * @param Title $newTitle The new title
574
+	 * @param stdClass $row
575 575
 	 * @return bool
576 576
 	 */
577 577
 	private function mergePage( $row, Title $newTitle ) {
Please login to merge, or discard this patch.