Completed
Branch master (dff332)
by
unknown
25:10
created
maintenance/sql.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -138,6 +138,10 @@
 block discarded – undo
138 138
 		wfWaitForSlaves();
139 139
 	}
140 140
 
141
+	/**
142
+	 * @param DatabaseBase $db
143
+	 * @param boolean $dieOnError
144
+	 */
141 145
 	protected function sqlDoQuery( $db, $line, $dieOnError ) {
142 146
 		try {
143 147
 			$res = $db->query( $line );
Please login to merge, or discard this patch.
maintenance/storage/checkStorage.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -354,6 +354,9 @@  discard block
 block discarded – undo
354 354
 		}
355 355
 	}
356 356
 
357
+	/**
358
+	 * @param string $type
359
+	 */
357 360
 	function error( $type, $msg, $ids ) {
358 361
 		if ( is_array( $ids ) && count( $ids ) == 1 ) {
359 362
 			$ids = reset( $ids );
@@ -417,6 +420,9 @@  discard block
 block discarded – undo
417 420
 		}
418 421
 	}
419 422
 
423
+	/**
424
+	 * @param string $xml
425
+	 */
420 426
 	function restoreText( $revIds, $xml ) {
421 427
 		global $wgDBname;
422 428
 		$tmpDir = wfTempDir();
Please login to merge, or discard this patch.
maintenance/storage/fixBug20757.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -265,6 +265,9 @@
 block discarded – undo
265 265
 		}
266 266
 	}
267 267
 
268
+	/**
269
+	 * @param integer $pageId
270
+	 */
268 271
 	function findTextIdInPage( $pageId, $textId ) {
269 272
 		$ids = $this->getRevTextMap( $pageId );
270 273
 		if ( !isset( $ids[$textId] ) ) {
Please login to merge, or discard this patch.
maintenance/updateCollation.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -243,6 +243,9 @@
 block discarded – undo
243 243
 		return $cond;
244 244
 	}
245 245
 
246
+	/**
247
+	 * @param string $key
248
+	 */
246 249
 	function updateSortKeySizeHistogram( $key ) {
247 250
 		$length = strlen( $key );
248 251
 		if ( !isset( $this->sizeHistogram[$length] ) ) {
Please login to merge, or discard this patch.
maintenance/updateSpecialPages.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@
 block discarded – undo
121 121
 		}
122 122
 	}
123 123
 
124
+	/**
125
+	 * @param IDatabase $dbw
126
+	 */
124 127
 	public function doSpecialPageCacheUpdates( $dbw ) {
125 128
 		global $wgSpecialPageCacheUpdates;
126 129
 
Please login to merge, or discard this patch.
includes/api/ApiMain.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
 	/**
48 48
 	 * @param string $string
49
-	 * @return mixed|string
49
+	 * @return string
50 50
 	 */
51 51
 	function lcfirst( $string ) {
52 52
 		if ( strlen( $string ) && $string[0] == 'I' ) {
Please login to merge, or discard this patch.
includes/diff/TableDiffFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -440,7 +440,7 @@
 block discarded – undo
440 440
 	 * Basic wikitext removal
441 441
 	 * @protected
442 442
 	 * @param string $text
443
-	 * @return mixed
443
+	 * @return string
444 444
 	 */
445 445
 	function removeWiki( $text ) {
446 446
 		$text = preg_replace( "/\\{\\{([^|]+?)\\}\\}/", "", $text );
Please login to merge, or discard this patch.
includes/filerepo/file/ForeignDBFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -289,7 +289,7 @@
 block discarded – undo
289 289
 	 * @param string $table Table name
290 290
 	 * @param string $field Field name to check
291 291
 	 * @param string $patchFile Path to the patch to correct the field
292
-	 * @return bool
292
+	 * @return boolean|null
293 293
 	 */
294 294
 	protected function checkBin( $table, $field, $patchFile ) {
295 295
 		if ( !$this->doTable( $table ) ) {
Please login to merge, or discard this patch.
includes/gallery/PackedImageGallery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 	}
86 86
 
87 87
 	/**
88
-	 * @return array
88
+	 * @return string[]
89 89
 	 */
90 90
 	function getOrderFields() {
91 91
 		return array( 'rd_namespace', 'rd_title', 'rd_from' );
Please login to merge, or discard this patch.