Completed
Branch master (54277f)
by
unknown
24:54
created
includes/parser/Preprocessor_DOM.php 1 patch
Doc Comments   +6 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1296,7 +1296,6 @@  discard block
 block discarded – undo
1296 1296
 	/**
1297 1297
 	 * @param string $sep
1298 1298
 	 * @param int $flags
1299
-	 * @param string|PPNode_DOM|DOMDocument $args,...
1300 1299
 	 * @return string
1301 1300
 	 */
1302 1301
 	public function implodeWithFlags( $sep, $flags /*, ... */ ) {
@@ -1328,7 +1327,6 @@  discard block
 block discarded – undo
1328 1327
 	 * This previously called implodeWithFlags but has now been inlined to reduce stack depth
1329 1328
 	 *
1330 1329
 	 * @param string $sep
1331
-	 * @param string|PPNode_DOM|DOMDocument $args,...
1332 1330
 	 * @return string
1333 1331
 	 */
1334 1332
 	public function implode( $sep /*, ... */ ) {
@@ -1360,7 +1358,6 @@  discard block
 block discarded – undo
1360 1358
 	 * with implode()
1361 1359
 	 *
1362 1360
 	 * @param string $sep
1363
-	 * @param string|PPNode_DOM|DOMDocument $args,...
1364 1361
 	 * @return array
1365 1362
 	 */
1366 1363
 	public function virtualImplode( $sep /*, ... */ ) {
@@ -1392,7 +1389,6 @@  discard block
 block discarded – undo
1392 1389
 	 * @param string $start
1393 1390
 	 * @param string $sep
1394 1391
 	 * @param string $end
1395
-	 * @param string|PPNode_DOM|DOMDocument $args,...
1396 1392
 	 * @return array
1397 1393
 	 */
1398 1394
 	public function virtualBracketedImplode( $start, $sep, $end /*, ... */ ) {
@@ -1530,7 +1526,7 @@  discard block
 block discarded – undo
1530 1526
 	/**
1531 1527
 	 * Get the TTL
1532 1528
 	 *
1533
-	 * @return int|null
1529
+	 * @return integer
1534 1530
 	 */
1535 1531
 	public function getTTL() {
1536 1532
 		return $this->ttl;
@@ -1555,7 +1551,7 @@  discard block
 block discarded – undo
1555 1551
 
1556 1552
 	/**
1557 1553
 	 * @param Preprocessor $preprocessor
1558
-	 * @param bool|PPFrame_DOM $parent
1554
+	 * @param PPFrame_DOM $parent
1559 1555
 	 * @param array $numberedArgs
1560 1556
 	 * @param array $namedArgs
1561 1557
 	 * @param bool|Title $title
@@ -1726,6 +1722,9 @@  discard block
 block discarded – undo
1726 1722
 
1727 1723
 	public $args;
1728 1724
 
1725
+	/**
1726
+	 * @param Preprocessor_DOM $preprocessor
1727
+	 */
1729 1728
 	public function __construct( $preprocessor, $args ) {
1730 1729
 		parent::__construct( $preprocessor );
1731 1730
 		$this->args = $args;
@@ -1833,7 +1832,7 @@  discard block
 block discarded – undo
1833 1832
 	/**
1834 1833
 	 * @param string $type
1835 1834
 	 *
1836
-	 * @return bool|PPNode_DOM
1835
+	 * @return PPNode_DOM
1837 1836
 	 */
1838 1837
 	public function getChildrenOfType( $type ) {
1839 1838
 		return new self( $this->getXPath()->query( $type, $this->node ) );
Please login to merge, or discard this patch.
includes/libs/StatusValue.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@
 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/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 MessageSpecifier $key
376 375
 	 *
377 376
 	 * @return Message
378 377
 	 */
@@ -389,8 +388,6 @@  discard block
 block discarded – undo
389 388
 	 *
390 389
 	 * @since 1.18
391 390
 	 *
392
-	 * @param string|string[] $keys,... Message keys, or first argument as an array of all the
393
-	 * message keys.
394 391
 	 *
395 392
 	 * @return Message
396 393
 	 */
@@ -461,8 +458,6 @@  discard block
 block discarded – undo
461 458
 	 *
462 459
 	 * @since 1.17
463 460
 	 *
464
-	 * @param mixed $params,... Raw parameters as strings, or a single argument that is
465
-	 * an array of raw parameters.
466 461
 	 *
467 462
 	 * @return Message $this
468 463
 	 */
@@ -483,8 +478,6 @@  discard block
 block discarded – undo
483 478
 	 *
484 479
 	 * @since 1.18
485 480
 	 *
486
-	 * @param mixed $param,... Numeric parameters, or a single argument that is
487
-	 * an array of numeric parameters.
488 481
 	 *
489 482
 	 * @return Message $this
490 483
 	 */
@@ -505,8 +498,6 @@  discard block
 block discarded – undo
505 498
 	 *
506 499
 	 * @since 1.22
507 500
 	 *
508
-	 * @param int|int[] $param,... Duration parameters, or a single argument that is
509
-	 * an array of duration parameters.
510 501
 	 *
511 502
 	 * @return Message $this
512 503
 	 */
@@ -527,8 +518,6 @@  discard block
 block discarded – undo
527 518
 	 *
528 519
 	 * @since 1.22
529 520
 	 *
530
-	 * @param string|string[] $param,... Expiry parameters, or a single argument that is
531
-	 * an array of expiry parameters.
532 521
 	 *
533 522
 	 * @return Message $this
534 523
 	 */
@@ -549,8 +538,6 @@  discard block
 block discarded – undo
549 538
 	 *
550 539
 	 * @since 1.22
551 540
 	 *
552
-	 * @param int|int[] $param,... Time period parameters, or a single argument that is
553
-	 * an array of time period parameters.
554 541
 	 *
555 542
 	 * @return Message $this
556 543
 	 */
@@ -571,8 +558,6 @@  discard block
 block discarded – undo
571 558
 	 *
572 559
 	 * @since 1.22
573 560
 	 *
574
-	 * @param int|int[] $param,... Size parameters, or a single argument that is
575
-	 * an array of size parameters.
576 561
 	 *
577 562
 	 * @return Message $this
578 563
 	 */
@@ -593,8 +578,6 @@  discard block
 block discarded – undo
593 578
 	 *
594 579
 	 * @since 1.22
595 580
 	 *
596
-	 * @param int|int[] $param,... Bit rate parameters, or a single argument that is
597
-	 * an array of bit rate parameters.
598 581
 	 *
599 582
 	 * @return Message $this
600 583
 	 */
@@ -617,8 +600,6 @@  discard block
 block discarded – undo
617 600
 	 *
618 601
 	 * @since 1.25
619 602
 	 *
620
-	 * @param string|string[] $param,... plaintext parameters, or a single argument that is
621
-	 * an array of plaintext parameters.
622 603
 	 *
623 604
 	 * @return Message $this
624 605
 	 */
Please login to merge, or discard this patch.
includes/libs/stats/NullStatsdDataFactory.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -53,7 +53,6 @@  discard block
 block discarded – undo
53 53
 	 * This function creates a 'increment' StatsdData object.
54 54
 	 *
55 55
 	 * @param string|array $key The metric(s) to increment.
56
-	 * @param float|1      $sampleRate The rate (0-1) for sampling.
57 56
 	 *
58 57
 	 * @return array
59 58
 	 **/
@@ -66,7 +65,6 @@  discard block
 block discarded – undo
66 65
 	 *
67 66
 	 *
68 67
 	 * @param string|array $key The metric(s) to decrement.
69
-	 * @param float|1      $sampleRate The rate (0-1) for sampling.
70 68
 	 *
71 69
 	 * @return mixed
72 70
 	 **/
Please login to merge, or discard this patch.