Completed
Branch master (1655eb)
by
unknown
22:24
created
includes/libs/rdbms/field/SQLiteField.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@
 block discarded – undo
2 2
 class SQLiteField implements Field {
3 3
 	private $info, $tableName;
4 4
 
5
+	/**
6
+	 * @param string $tableName
7
+	 */
5 8
 	function __construct( $info, $tableName ) {
6 9
 		$this->info = $info;
7 10
 		$this->tableName = $tableName;
Please login to merge, or discard this patch.
includes/libs/rdbms/TransactionProfiler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
 	 * With conflicting expectations, the most narrow ones will be used
103 103
 	 *
104 104
 	 * @param array $expects Map of (event => limit)
105
-	 * @param $fname
105
+	 * @param string $fname
106 106
 	 * @since 1.26
107 107
 	 */
108 108
 	public function setExpectations( array $expects, $fname ) {
Please login to merge, or discard this patch.
includes/libs/rdbms/database/DatabaseDomain.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
 	}
94 94
 
95 95
 	/**
96
-	 * @param DatabaseDomain|string $other
96
+	 * @param boolean $other
97 97
 	 * @return bool
98 98
 	 */
99 99
 	public function equals( $other ) {
Please login to merge, or discard this patch.
includes/libs/rdbms/lbfactory/LBFactoryMulti.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -390,7 +390,7 @@
 block discarded – undo
390 390
 	}
391 391
 
392 392
 	/**
393
-	 * @param DatabaseDomain|string|bool $domain Domain ID, or false for the current domain
393
+	 * @param boolean|string $domain Domain ID, or false for the current domain
394 394
 	 * @return array [database name, table prefix]
395 395
 	 */
396 396
 	private function getDBNameAndPrefix( $domain = false ) {
Please login to merge, or discard this patch.
includes/actions/HistoryAction.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
 	 * Borrows Recent Changes' feed generation functions for formatting;
318 318
 	 * includes a diff to the previous revision (if any).
319 319
 	 *
320
-	 * @param stdClass|array $row Database row
320
+	 * @param null|stdClass $row Database row
321 321
 	 * @return FeedItem
322 322
 	 */
323 323
 	function feedItem( $row ) {
@@ -534,6 +534,10 @@  discard block
 block discarded – undo
534 534
 		return $s;
535 535
 	}
536 536
 
537
+	/**
538
+	 * @param string $name
539
+	 * @param string $msg
540
+	 */
537 541
 	private function getRevisionButton( $name, $msg ) {
538 542
 		$this->preventClickjacking();
539 543
 		# Note bug #20966, <button> is non-standard in IE<8
Please login to merge, or discard this patch.
includes/api/ApiQueryRevisionsBase.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
 	 * Extract information from the Revision
155 155
 	 *
156 156
 	 * @param Revision $revision
157
-	 * @param object $row Should have a field 'ts_tags' if $this->fld_tags is set
157
+	 * @param null|stdClass $row Should have a field 'ts_tags' if $this->fld_tags is set
158 158
 	 * @return array
159 159
 	 */
160 160
 	protected function extractRevisionInfo( Revision $revision, $row ) {
Please login to merge, or discard this patch.
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.