Completed
Branch master (e2eefa)
by
unknown
25:58
created
includes/api/ApiBase.php 1 patch
Doc Comments   +13 added lines, -9 removed lines patch added patch discarded remove patch
@@ -408,7 +408,7 @@  discard block
 block discarded – undo
408 408
 	 * Returning true will generate errors indicating that the API module needs
409 409
 	 * updating.
410 410
 	 *
411
-	 * @return string|false
411
+	 * @return boolean
412 412
 	 */
413 413
 	public function needsToken() {
414 414
 		return false;
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
 	 *
422 422
 	 * @since 1.24
423 423
 	 * @param array $params All supplied parameters for the module
424
-	 * @return string|array|null
424
+	 * @return string
425 425
 	 */
426 426
 	protected function getWebUITokenSalt( array $params ) {
427 427
 		return null;
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
 	/**
487 487
 	 * Get the parent of this module
488 488
 	 * @since 1.25
489
-	 * @return ApiBase|null
489
+	 * @return ApiMain
490 490
 	 */
491 491
 	public function getParent() {
492 492
 		return $this->isMain() ? null : $this->getMain();
@@ -621,6 +621,7 @@  discard block
 block discarded – undo
621 621
 	/**
622 622
 	 * Set the continuation manager
623 623
 	 * @param ApiContinuationManager|null
624
+	 * @param ApiContinuationManager|null $manager
624 625
 	 */
625 626
 	public function setContinuationManager( $manager ) {
626 627
 		// Main module has setContinuationManager() method overridden
@@ -704,6 +705,7 @@  discard block
 block discarded – undo
704 705
 	 *
705 706
 	 * @param array $params User provided set of parameters, as from $this->extractRequestParams()
706 707
 	 * @param string $required,... Names of parameters of which exactly one must be set
708
+	 * @param string $required
707 709
 	 */
708 710
 	public function requireOnlyOneParameter( $params, $required /*...*/ ) {
709 711
 		$required = func_get_args();
@@ -730,6 +732,7 @@  discard block
 block discarded – undo
730 732
 	 *
731 733
 	 * @param array $params User provided set of parameters, as from $this->extractRequestParams()
732 734
 	 * @param string $required,... Names of parameters of which at most one must be set
735
+	 * @param string $required
733 736
 	 */
734 737
 	public function requireMaxOneParameter( $params, $required /*...*/ ) {
735 738
 		$required = func_get_args();
@@ -753,6 +756,7 @@  discard block
 block discarded – undo
753 756
 	 * @since 1.23
754 757
 	 * @param array $params User provided set of parameters, as from $this->extractRequestParams()
755 758
 	 * @param string $required,... Names of parameters of which at least one must be set
759
+	 * @param string $required
756 760
 	 */
757 761
 	public function requireAtLeastOneParameter( $params, $required /*...*/ ) {
758 762
 		$required = func_get_args();
@@ -2531,7 +2535,7 @@  discard block
 block discarded – undo
2531 2535
 	 * "apihelp-{$this->getModulePath()}-description".
2532 2536
 	 *
2533 2537
 	 * @deprecated since 1.25
2534
-	 * @return Message|string|array
2538
+	 * @return boolean
2535 2539
 	 */
2536 2540
 	protected function getDescription() {
2537 2541
 		return false;
@@ -2567,7 +2571,7 @@  discard block
 block discarded – undo
2567 2571
 	 * that value, and boolean false means "no examples".
2568 2572
 	 *
2569 2573
 	 * @deprecated since 1.25, use getExamplesMessages() instead
2570
-	 * @return bool|string|array
2574
+	 * @return boolean
2571 2575
 	 */
2572 2576
 	protected function getExamples() {
2573 2577
 		return false;
@@ -2576,7 +2580,7 @@  discard block
 block discarded – undo
2576 2580
 	/**
2577 2581
 	 * Generates help message for this module, or false if there is no description
2578 2582
 	 * @deprecated since 1.25
2579
-	 * @return string|bool
2583
+	 * @return string
2580 2584
 	 */
2581 2585
 	public function makeHelpMsg() {
2582 2586
 		wfDeprecated( __METHOD__, '1.25' );
@@ -2686,7 +2690,7 @@  discard block
 block discarded – undo
2686 2690
 	 * Generates the parameter descriptions for this module, to be displayed in the
2687 2691
 	 * module's help.
2688 2692
 	 * @deprecated since 1.25
2689
-	 * @return string|bool
2693
+	 * @return string|false
2690 2694
 	 */
2691 2695
 	public function makeHelpMsgParameters() {
2692 2696
 		wfDeprecated( __METHOD__, '1.25' );
@@ -2877,7 +2881,7 @@  discard block
 block discarded – undo
2877 2881
 
2878 2882
 	/**
2879 2883
 	 * @deprecated since 1.25, always returns 0
2880
-	 * @return float
2884
+	 * @return integer
2881 2885
 	 */
2882 2886
 	public function getProfileTime() {
2883 2887
 		wfDeprecated( __METHOD__, '1.25' );
@@ -2900,7 +2904,7 @@  discard block
 block discarded – undo
2900 2904
 
2901 2905
 	/**
2902 2906
 	 * @deprecated since 1.25, always returns 0
2903
-	 * @return float
2907
+	 * @return integer
2904 2908
 	 */
2905 2909
 	public function getProfileDBTime() {
2906 2910
 		wfDeprecated( __METHOD__, '1.25' );
Please login to merge, or discard this patch.
includes/parser/BlockLevelPass.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -53,6 +53,8 @@
 block discarded – undo
53 53
 
54 54
 	/**
55 55
 	 * Private constructor
56
+	 * @param string $text
57
+	 * @param boolean $lineStart
56 58
 	 */
57 59
 	private function __construct( $text, $lineStart ) {
58 60
 		$this->text = $text;
Please login to merge, or discard this patch.