Completed
Branch master (f8f60f)
by
unknown
28:07
created
maintenance/Maintenance.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
 	/**
291 291
 	 * Get an argument.
292 292
 	 * @param int $argId The integer value (from zero) for the arg
293
-	 * @param mixed $default The default if it doesn't exist
293
+	 * @param string $default The default if it doesn't exist
294 294
 	 * @return mixed
295 295
 	 */
296 296
 	protected function getArg( $argId = 0, $default = null ) {
@@ -1244,6 +1244,7 @@  discard block
 block discarded – undo
1244 1244
 	 * Unlock and lock again
1245 1245
 	 * Since the lock is low-priority, queued reads will be able to complete
1246 1246
 	 * @param DatabaseBase &$db
1247
+	 * @param DatabaseBase $db
1247 1248
 	 */
1248 1249
 	private function relockSearchindex( $db ) {
1249 1250
 		$this->unlockSearchindex( $db );
Please login to merge, or discard this patch.
maintenance/namespaceDupes.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -568,7 +568,6 @@
 block discarded – undo
568 568
 	/**
569 569
 	 * Merge page histories
570 570
 	 *
571
-	 * @param integer $id The page_id
572 571
 	 * @param Title $newTitle The new title
573 572
 	 * @return bool
574 573
 	 */
Please login to merge, or discard this patch.
maintenance/populateRevisionLength.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 	 * @param string $table
70 70
 	 * @param string $idCol
71 71
 	 * @param string $prefix
72
-	 * @param array $fields
72
+	 * @param string[] $fields
73 73
 	 * @return int
74 74
 	 */
75 75
 	protected function doLenUpdates( $table, $idCol, $prefix, $fields ) {
Please login to merge, or discard this patch.
maintenance/preprocessorFuzzTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@
 block discarded – undo
145 145
 class PPFuzzTest {
146 146
 	public $templates, $mainText, $title, $entryPoint, $output;
147 147
 
148
+	/**
149
+	 * @param PPFuzzTester $tester
150
+	 */
148 151
 	function __construct( $tester ) {
149 152
 		global $wgMaxSigChars;
150 153
 		$this->parent = $tester;
Please login to merge, or discard this patch.
maintenance/purgeParserCache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
 		$this->output( "\nDone\n" );
69 69
 	}
70 70
 
71
+	/**
72
+	 * @param integer $percent
73
+	 */
71 74
 	function showProgress( $percent ) {
72 75
 		$percentString = sprintf( "%.2f", $percent );
73 76
 		if ( $percentString === $this->lastProgress ) {
Please login to merge, or discard this patch.
maintenance/rebuildImages.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -95,6 +95,9 @@  discard block
 block discarded – undo
95 95
 		$this->table = $table;
96 96
 	}
97 97
 
98
+	/**
99
+	 * @param integer $updated
100
+	 */
98 101
 	function progress( $updated ) {
99 102
 		$this->updated += $updated;
100 103
 		$this->processed++;
@@ -122,6 +125,10 @@  discard block
 block discarded – undo
122 125
 		flush();
123 126
 	}
124 127
 
128
+	/**
129
+	 * @param string $table
130
+	 * @param string $key
131
+	 */
125 132
 	function buildTable( $table, $key, $callback ) {
126 133
 		$count = $this->dbw->selectField( $table, 'count(*)', '', __METHOD__ );
127 134
 		$this->init( $count, $table );
@@ -186,6 +193,9 @@  discard block
 block discarded – undo
186 193
 		}
187 194
 	}
188 195
 
196
+	/**
197
+	 * @param string $filename
198
+	 */
189 199
 	function addMissingImage( $filename, $fullpath ) {
190 200
 		global $wgContLang;
191 201
 
Please login to merge, or discard this patch.
maintenance/refreshLinks.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -357,7 +357,7 @@
 block discarded – undo
357 357
 	 * @param IDatabase $db Database connection
358 358
 	 * @param string $var Field name
359 359
 	 * @param mixed $start First value to include or null
360
-	 * @param mixed $end Last value to include or null
360
+	 * @param integer|null $end Last value to include or null
361 361
 	 */
362 362
 	private static function intervalCond( IDatabase $db, $var, $start, $end ) {
363 363
 		if ( $start === null && $end === null ) {
Please login to merge, or discard this patch.
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.