Completed
Branch master (aa6546)
by
unknown
31:14
created
includes/import/UploadSourceAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
 	}
112 112
 
113 113
 	/**
114
-	 * @return mixed
114
+	 * @return integer
115 115
 	 */
116 116
 	function stream_tell() {
117 117
 		return $this->mPosition;
Please login to merge, or discard this patch.
includes/import/WikiImporter.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
 	}
96 96
 
97 97
 	/**
98
-	 * @return null|XMLReader
98
+	 * @return XMLReader
99 99
 	 */
100 100
 	public function getReader() {
101 101
 		return $this->reader;
@@ -116,6 +116,9 @@  discard block
 block discarded – undo
116 116
 		wfDebug( "IMPORT: $data\n" );
117 117
 	}
118 118
 
119
+	/**
120
+	 * @param string $msg
121
+	 */
119 122
 	public function notice( $msg /*, $param, ...*/ ) {
120 123
 		$params = func_get_args();
121 124
 		array_shift( $params );
Please login to merge, or discard this patch.
includes/import/WikiRevision.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -384,14 +384,14 @@  discard block
 block discarded – undo
384 384
 	}
385 385
 
386 386
 	/**
387
-	 * @return mixed
387
+	 * @return string
388 388
 	 */
389 389
 	function getSrc() {
390 390
 		return $this->src;
391 391
 	}
392 392
 
393 393
 	/**
394
-	 * @return bool|string
394
+	 * @return false|string
395 395
 	 */
396 396
 	function getSha1() {
397 397
 		if ( $this->sha1base36 ) {
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
 	}
416 416
 
417 417
 	/**
418
-	 * @return mixed
418
+	 * @return string
419 419
 	 */
420 420
 	function getFilename() {
421 421
 		return $this->filename;
@@ -429,7 +429,7 @@  discard block
 block discarded – undo
429 429
 	}
430 430
 
431 431
 	/**
432
-	 * @return mixed
432
+	 * @return integer
433 433
 	 */
434 434
 	function getSize() {
435 435
 		return $this->size;
@@ -681,7 +681,7 @@  discard block
 block discarded – undo
681 681
 	}
682 682
 
683 683
 	/**
684
-	 * @return bool|string
684
+	 * @return false|string
685 685
 	 */
686 686
 	function downloadSource() {
687 687
 		if ( !$this->config->get( 'EnableUploads' ) ) {
Please login to merge, or discard this patch.
includes/installer/DatabaseInstaller.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -393,7 +393,7 @@  discard block
 block discarded – undo
393 393
 	/**
394 394
 	 * Get a variable, taking local defaults into account.
395 395
 	 * @param string $var
396
-	 * @param mixed|null $default
396
+	 * @param boolean $default
397 397
 	 * @return mixed
398 398
 	 */
399 399
 	public function getVar( $var, $default = null ) {
@@ -516,8 +516,8 @@  discard block
 block discarded – undo
516 516
 	 * Convenience function to set variables based on form data.
517 517
 	 * Assumes that variables containing "password" in the name are (potentially
518 518
 	 * fake) passwords.
519
-	 * @param array $varNames
520
-	 * @return array
519
+	 * @param string[] $varNames
520
+	 * @return string[]
521 521
 	 */
522 522
 	public function setVarsFromRequest( $varNames ) {
523 523
 		return $this->parent->setVarsFromRequest( $varNames, $this->getName() . '_' );
Please login to merge, or discard this patch.
includes/installer/InstallDocFormatter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -21,6 +21,10 @@
 block discarded – undo
21 21
  */
22 22
 
23 23
 class InstallDocFormatter {
24
+
25
+	/**
26
+	 * @param string $text
27
+	 */
24 28
 	static function format( $text ) {
25 29
 		$obj = new self( $text );
26 30
 
Please login to merge, or discard this patch.
includes/installer/MysqlUpdater.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/installer/PostgresUpdater.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -546,6 +546,9 @@  discard block
 block discarded – undo
546 546
 		return $colnames;
547 547
 	}
548 548
 
549
+	/**
550
+	 * @param string $fkey
551
+	 */
549 552
 	function fkeyDeltype( $fkey ) {
550 553
 		$q = <<<END
551 554
 SELECT confdeltype FROM pg_constraint, pg_namespace
@@ -726,6 +729,9 @@  discard block
 block discarded – undo
726 729
 		}
727 730
 	}
728 731
 
732
+	/**
733
+	 * @param string $default
734
+	 */
729 735
 	protected function setDefault( $table, $field, $default ) {
730 736
 
731 737
 		$info = $this->db->fieldInfo( $table, $field );
Please login to merge, or discard this patch.
includes/installer/WebInstaller.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
 	/**
389 389
 	 * Show an error message in a box. Parameters are like wfMessage(), or
390 390
 	 * alternatively, pass a Message object in.
391
-	 * @param string|Message $msg
391
+	 * @param string $msg
392 392
 	 */
393 393
 	public function showError( $msg /*...*/ ) {
394 394
 		if ( !( $msg instanceof Message ) ) {
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
 	 * Set a session variable.
487 487
 	 *
488 488
 	 * @param string $name Key for the variable
489
-	 * @param mixed $value
489
+	 * @param boolean $value
490 490
 	 */
491 491
 	public function setSession( $name, $value ) {
492 492
 		$this->session[$name] = $value;
Please login to merge, or discard this patch.
includes/jobqueue/aggregator/JobQueueAggregatorRedis.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 	/**
99 99
 	 * Get a connection to the server that handles all sub-queues for this queue
100 100
 	 *
101
-	 * @return RedisConnRef|bool Returns false on failure
101
+	 * @return boolean Returns false on failure
102 102
 	 * @throws MWException
103 103
 	 */
104 104
 	protected function getConnection() {
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 
123 123
 	/**
124 124
 	 * @param string $name
125
-	 * @return string
125
+	 * @return string[]
126 126
 	 */
127 127
 	private function decodeQueueName( $name ) {
128 128
 		list( $type, $wiki ) = explode( '/', $name, 2 );
Please login to merge, or discard this patch.