Completed
Branch master (0387ce)
by
unknown
37:17
created
includes/cache/LinkCache.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.
includes/auth/AuthManager.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -199,8 +199,8 @@
 block discarded – undo
199 199
 	 * @deprecated For backwards compatibility only, should be avoided in new code
200 200
 	 * @param string $method AuthPlugin method to call
201 201
 	 * @param array $params Parameters to pass
202
-	 * @param mixed $return Return value if AuthPlugin wasn't called
203
-	 * @return mixed Return value from the AuthPlugin method, or $return
202
+	 * @param string|null $return Return value if AuthPlugin wasn't called
203
+	 * @return string Return value from the AuthPlugin method, or $return
204 204
 	 */
205 205
 	public static function callLegacyAuthPlugin( $method, array $params, $return = null ) {
206 206
 		global $wgAuth;
Please login to merge, or discard this patch.
includes/auth/AuthManagerAuthPlugin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -228,6 +228,9 @@
 block discarded – undo
228 228
 	/** @var User */
229 229
 	private $user;
230 230
 
231
+	/**
232
+	 * @param User $user
233
+	 */
231 234
 	function __construct( $user ) {
232 235
 		$this->user = $user;
233 236
 	}
Please login to merge, or discard this patch.
includes/Message.php 1 patch
Doc Comments   +1 added lines, -20 removed lines patch added patch discarded remove patch
@@ -371,8 +371,7 @@  discard block
 block discarded – undo
371 371
 	 *
372 372
 	 * @since 1.17
373 373
 	 *
374
-	 * @param string|string[]|MessageSpecifier $key
375
-	 * @param mixed $param,... Parameters as strings.
374
+	 * @param string $key
376 375
 	 *
377 376
 	 * @return Message
378 377
 	 */
@@ -415,8 +414,6 @@  discard block
 block discarded – undo
415 414
 	 *
416 415
 	 * @since 1.18
417 416
 	 *
418
-	 * @param string|string[] $keys,... Message keys, or first argument as an array of all the
419
-	 * message keys.
420 417
 	 *
421 418
 	 * @return Message
422 419
 	 */
@@ -487,8 +484,6 @@  discard block
 block discarded – undo
487 484
 	 *
488 485
 	 * @since 1.17
489 486
 	 *
490
-	 * @param mixed $params,... Raw parameters as strings, or a single argument that is
491
-	 * an array of raw parameters.
492 487
 	 *
493 488
 	 * @return Message $this
494 489
 	 */
@@ -509,8 +504,6 @@  discard block
 block discarded – undo
509 504
 	 *
510 505
 	 * @since 1.18
511 506
 	 *
512
-	 * @param mixed $param,... Numeric parameters, or a single argument that is
513
-	 * an array of numeric parameters.
514 507
 	 *
515 508
 	 * @return Message $this
516 509
 	 */
@@ -531,8 +524,6 @@  discard block
 block discarded – undo
531 524
 	 *
532 525
 	 * @since 1.22
533 526
 	 *
534
-	 * @param int|int[] $param,... Duration parameters, or a single argument that is
535
-	 * an array of duration parameters.
536 527
 	 *
537 528
 	 * @return Message $this
538 529
 	 */
@@ -553,8 +544,6 @@  discard block
 block discarded – undo
553 544
 	 *
554 545
 	 * @since 1.22
555 546
 	 *
556
-	 * @param string|string[] $param,... Expiry parameters, or a single argument that is
557
-	 * an array of expiry parameters.
558 547
 	 *
559 548
 	 * @return Message $this
560 549
 	 */
@@ -575,8 +564,6 @@  discard block
 block discarded – undo
575 564
 	 *
576 565
 	 * @since 1.22
577 566
 	 *
578
-	 * @param int|int[] $param,... Time period parameters, or a single argument that is
579
-	 * an array of time period parameters.
580 567
 	 *
581 568
 	 * @return Message $this
582 569
 	 */
@@ -597,8 +584,6 @@  discard block
 block discarded – undo
597 584
 	 *
598 585
 	 * @since 1.22
599 586
 	 *
600
-	 * @param int|int[] $param,... Size parameters, or a single argument that is
601
-	 * an array of size parameters.
602 587
 	 *
603 588
 	 * @return Message $this
604 589
 	 */
@@ -619,8 +604,6 @@  discard block
 block discarded – undo
619 604
 	 *
620 605
 	 * @since 1.22
621 606
 	 *
622
-	 * @param int|int[] $param,... Bit rate parameters, or a single argument that is
623
-	 * an array of bit rate parameters.
624 607
 	 *
625 608
 	 * @return Message $this
626 609
 	 */
@@ -643,8 +626,6 @@  discard block
 block discarded – undo
643 626
 	 *
644 627
 	 * @since 1.25
645 628
 	 *
646
-	 * @param string|string[] $param,... plaintext parameters, or a single argument that is
647
-	 * an array of plaintext parameters.
648 629
 	 *
649 630
 	 * @return Message $this
650 631
 	 */
Please login to merge, or discard this patch.
includes/Status.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -434,7 +434,7 @@  discard block
 block discarded – undo
434 434
 	/**
435 435
 	 * Returns true if the specified message is present as a warning or error
436 436
 	 *
437
-	 * @param string|Message $message Message key or object to search for
437
+	 * @param string $message Message key or object to search for
438 438
 	 *
439 439
 	 * @return bool
440 440
 	 */
@@ -449,8 +449,8 @@  discard block
 block discarded – undo
449 449
 	 * Note, due to the lack of tools for comparing Message objects, this
450 450
 	 * function will not work when using a Message object as the search parameter.
451 451
 	 *
452
-	 * @param Message|string $source Message key or object to search for
453
-	 * @param Message|string $dest Replacement message key or object
452
+	 * @param string $source Message key or object to search for
453
+	 * @param string $dest Replacement message key or object
454 454
 	 * @return bool Return true if the replacement was done, false otherwise.
455 455
 	 */
456 456
 	public function replaceMessage( $source, $dest ) {
Please login to merge, or discard this patch.
includes/api/ApiAuthManagerHelper.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -275,8 +275,6 @@  discard block
 block discarded – undo
275 275
 
276 276
 	/**
277 277
 	 * Clean up a field array for output
278
-	 * @param ApiBase $module For context and parameters 'mergerequestfields'
279
-	 *  and 'messageformat'
280 278
 	 * @param array $fields
281 279
 	 * @return array
282 280
 	 */
@@ -315,6 +313,7 @@  discard block
 block discarded – undo
315 313
 	 * Fetch the standard parameters this helper recognizes
316 314
 	 * @param string $action AuthManager action
317 315
 	 * @param string $param... Parameters to use
316
+	 * @param string $param
318 317
 	 * @return array
319 318
 	 */
320 319
 	public static function getStandardParams( $action, $param /* ... */ ) {
Please login to merge, or discard this patch.
includes/cache/CacheDependency.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 	}
173 173
 
174 174
 	/**
175
-	 * @return array
175
+	 * @return string[]
176 176
 	 */
177 177
 	function __sleep() {
178 178
 		$this->loadDependencyValues();
@@ -228,6 +228,9 @@  discard block
 block discarded – undo
228 228
 	private $name;
229 229
 	private $value;
230 230
 
231
+	/**
232
+	 * @param string $name
233
+	 */
231 234
 	function __construct( $name ) {
232 235
 		$this->name = $name;
233 236
 		$this->value = $GLOBALS[$name];
@@ -252,6 +255,9 @@  discard block
 block discarded – undo
252 255
 	private $name;
253 256
 	private $value;
254 257
 
258
+	/**
259
+	 * @param string $name
260
+	 */
255 261
 	function __construct( $name ) {
256 262
 		$this->name = $name;
257 263
 		$this->value = $this->getConfig()->get( $this->name );
@@ -280,6 +286,9 @@  discard block
 block discarded – undo
280 286
 	private $name;
281 287
 	private $value;
282 288
 
289
+	/**
290
+	 * @param string $name
291
+	 */
283 292
 	function __construct( $name ) {
284 293
 		$this->name = $name;
285 294
 		$this->value = constant( $name );
Please login to merge, or discard this patch.
includes/libs/StatusValue.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
 	/**
140 140
 	 * Add a new warning
141 141
 	 *
142
-	 * @param string|MessageSpecifier $message Message key or object
142
+	 * @param Message $message Message key or object
143 143
 	 */
144 144
 	public function warning( $message /*, parameters... */ ) {
145 145
 		$this->errors[] = [
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
 	 * Add an error and set OK to false, indicating that the operation
168 168
 	 * as a whole was fatal
169 169
 	 *
170
-	 * @param string|MessageSpecifier $message Message key or object
170
+	 * @param string $message Message key or object
171 171
 	 */
172 172
 	public function fatal( $message /*, parameters... */ ) {
173 173
 		$this->errors[] = [
Please login to merge, or discard this patch.
includes/skins/QuickTemplate.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -97,6 +97,7 @@
 block discarded – undo
97 97
 	/**
98 98
 	 * Main function, used by classes that subclass QuickTemplate
99 99
 	 * to show the actual HTML output
100
+	 * @return string
100 101
 	 */
101 102
 	abstract public function execute();
102 103
 
Please login to merge, or discard this patch.