Completed
Branch master (ac47ff)
by
unknown
28:48
created
includes/jobqueue/JobQueueRedis.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
 	/**
379 379
 	 * @see JobQueue::doAck()
380 380
 	 * @param Job $job
381
-	 * @return Job|bool
381
+	 * @return boolean
382 382
 	 * @throws UnexpectedValueException
383 383
 	 * @throws JobQueueError
384 384
 	 */
@@ -480,7 +480,7 @@  discard block
 block discarded – undo
480 480
 
481 481
 	/**
482 482
 	 * @see JobQueue::doDelete()
483
-	 * @return bool
483
+	 * @return boolean|null
484 484
 	 * @throws JobQueueError
485 485
 	 */
486 486
 	protected function doDelete() {
@@ -693,7 +693,7 @@  discard block
 block discarded – undo
693 693
 
694 694
 	/**
695 695
 	 * @param array $fields
696
-	 * @return Job|bool
696
+	 * @return Job
697 697
 	 */
698 698
 	protected function getJobFromFields( array $fields ) {
699 699
 		$title = Title::makeTitle( $fields['namespace'], $fields['title'] );
Please login to merge, or discard this patch.
includes/jobqueue/jobs/ThumbnailRenderJob.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -77,6 +77,10 @@
 block discarded – undo
77 77
 		}
78 78
 	}
79 79
 
80
+	/**
81
+	 * @param File $file
82
+	 * @param string $thumbUrl
83
+	 */
80 84
 	protected function hitThumbUrl( $file, $transformParams, &$thumbUrl ) {
81 85
 		global $wgUploadThumbnailRenderHttpCustomHost, $wgUploadThumbnailRenderHttpCustomDomain;
82 86
 
Please login to merge, or discard this patch.
includes/libs/ArrayUtils.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,6 @@
 block discarded – undo
151 151
 	 * @since 1.23
152 152
 	 *
153 153
 	 * @param array $array1 The array to compare from
154
-	 * @param array $array2,... More arrays to compare against
155 154
 	 * @return array An array containing all the values from array1
156 155
 	 *               that are not present in any of the other arrays.
157 156
 	 */
Please login to merge, or discard this patch.
includes/libs/Cookie.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -33,6 +33,10 @@
 block discarded – undo
33 33
 	// TO IMPLEMENT? protected $version
34 34
 	// TO IMPLEMENT? protected $comment
35 35
 
36
+	/**
37
+	 * @param string $name
38
+	 * @param string $value
39
+	 */
36 40
 	function __construct( $name, $value, $attr ) {
37 41
 		$this->name = $name;
38 42
 		$this->set( $value, $attr );
Please login to merge, or discard this patch.
includes/libs/CSSMin.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 	 * @param bool $ie8Compat By default, a data URI will only be produced if it can be made short
129 129
 	 *     enough to fit in Internet Explorer 8 (and earlier) URI length limit (32,768 bytes). Pass
130 130
 	 *     `false` to remove this limitation.
131
-	 * @return string|bool Image contents encoded as a data URI or false.
131
+	 * @return false|string Image contents encoded as a data URI or false.
132 132
 	 */
133 133
 	public static function encodeImageAsDataURI( $file, $type = null, $ie8Compat = true ) {
134 134
 		// Fast-fail for files that definitely exceed the maximum data URI length
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 	 * @param string $contents File contents to encode.
157 157
 	 * @param string $type File's MIME type.
158 158
 	 * @param bool $ie8Compat See encodeImageAsDataURI().
159
-	 * @return string|bool Image contents encoded as a data URI or false.
159
+	 * @return string|false Image contents encoded as a data URI or false.
160 160
 	 */
161 161
 	public static function encodeStringAsDataURI( $contents, $type, $ie8Compat = true ) {
162 162
 		// Try #1: Non-encoded data URI
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 	}
201 201
 
202 202
 	/**
203
-	 * @param $file string
203
+	 * @param string $file string
204 204
 	 * @return bool|string
205 205
 	 */
206 206
 	public static function getMimeType( $file ) {
Please login to merge, or discard this patch.
includes/libs/DeferredStringifier.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,6 @@
 block discarded – undo
35 35
 
36 36
 	/**
37 37
 	 * @param callable $callback Callback that gets called by __toString
38
-	 * @param mixed $param,... Parameters to the callback
39 38
 	 */
40 39
 	public function __construct( $callback /*...*/ ) {
41 40
 		$this->params = func_get_args();
Please login to merge, or discard this patch.
includes/libs/GenericArrayObject.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
 	 *
73 73
 	 * @since 1.20
74 74
 	 *
75
-	 * @param null|array $input
75
+	 * @param Site[] $input
76 76
 	 * @param int $flags
77 77
 	 * @param string $iterator_class
78 78
 	 */
Please login to merge, or discard this patch.
includes/libs/IEContentAnalyzer.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -384,9 +384,9 @@  discard block
 block discarded – undo
384 384
 	/**
385 385
 	 * Get the MIME type for a given named version
386 386
 	 * @param $version
387
-	 * @param $fileName
388
-	 * @param $chunk
389
-	 * @param $proposed
387
+	 * @param string $fileName
388
+	 * @param string $chunk
389
+	 * @param string $proposed
390 390
 	 * @return bool|string
391 391
 	 */
392 392
 	protected function getMimeTypeForVersion( $version, $fileName, $chunk, $proposed ) {
@@ -554,8 +554,8 @@  discard block
 block discarded – undo
554 554
 	 * Check for text headers at the start of the chunk
555 555
 	 * Confirmed same in 5 and 7.
556 556
 	 * @param $version
557
-	 * @param $chunk
558
-	 * @return bool|string
557
+	 * @param string $chunk
558
+	 * @return string|false
559 559
 	 */
560 560
 	private function checkTextHeaders( $version, $chunk ) {
561 561
 		$chunk2 = substr( $chunk, 0, 2 );
@@ -580,8 +580,8 @@  discard block
 block discarded – undo
580 580
 	 * Check for binary headers at the start of the chunk
581 581
 	 * Confirmed same in 5 and 7.
582 582
 	 * @param $version
583
-	 * @param $chunk
584
-	 * @return bool|string
583
+	 * @param string $chunk
584
+	 * @return string|false
585 585
 	 */
586 586
 	private function checkBinaryHeaders( $version, $chunk ) {
587 587
 		$chunk2 = substr( $chunk, 0, 2 );
@@ -681,7 +681,7 @@  discard block
 block discarded – undo
681 681
 	 * Do heuristic checks on the bulk of the data sample.
682 682
 	 * Search for HTML tags.
683 683
 	 * @param $version
684
-	 * @param $chunk
684
+	 * @param string $chunk
685 685
 	 * @return array
686 686
 	 */
687 687
 	protected function sampleData( $version, $chunk ) {
Please login to merge, or discard this patch.
includes/libs/JavaScriptMinifier.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -608,6 +608,11 @@
 block discarded – undo
608 608
 		return $out;
609 609
 	}
610 610
 
611
+	/**
612
+	 * @param string $fullJavascript
613
+	 * @param integer $position
614
+	 * @param string $errorMsg
615
+	 */
611 616
 	static function parseError($fullJavascript, $position, $errorMsg) {
612 617
 		// TODO: Handle the error: trigger_error, throw exception, return false...
613 618
 		return false;
Please login to merge, or discard this patch.