Completed
Branch master (a9d73a)
by
unknown
30:07
created
includes/api/ApiBase.php 1 patch
Doc Comments   +10 added lines, -6 removed lines patch added patch discarded remove patch
@@ -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;
@@ -627,6 +627,7 @@  discard block
 block discarded – undo
627 627
 	/**
628 628
 	 * Set the continuation manager
629 629
 	 * @param ApiContinuationManager|null
630
+	 * @param ApiContinuationManager|null $manager
630 631
 	 */
631 632
 	public function setContinuationManager( $manager ) {
632 633
 		// Main module has setContinuationManager() method overridden
@@ -710,6 +711,7 @@  discard block
 block discarded – undo
710 711
 	 *
711 712
 	 * @param array $params User provided set of parameters, as from $this->extractRequestParams()
712 713
 	 * @param string $required,... Names of parameters of which exactly one must be set
714
+	 * @param string $required
713 715
 	 */
714 716
 	public function requireOnlyOneParameter( $params, $required /*...*/ ) {
715 717
 		$required = func_get_args();
@@ -736,6 +738,7 @@  discard block
 block discarded – undo
736 738
 	 *
737 739
 	 * @param array $params User provided set of parameters, as from $this->extractRequestParams()
738 740
 	 * @param string $required,... Names of parameters of which at most one must be set
741
+	 * @param string $required
739 742
 	 */
740 743
 	public function requireMaxOneParameter( $params, $required /*...*/ ) {
741 744
 		$required = func_get_args();
@@ -759,6 +762,7 @@  discard block
 block discarded – undo
759 762
 	 * @since 1.23
760 763
 	 * @param array $params User provided set of parameters, as from $this->extractRequestParams()
761 764
 	 * @param string $required,... Names of parameters of which at least one must be set
765
+	 * @param string $required
762 766
 	 */
763 767
 	public function requireAtLeastOneParameter( $params, $required /*...*/ ) {
764 768
 		$required = func_get_args();
@@ -1431,7 +1435,7 @@  discard block
 block discarded – undo
1431 1435
 
1432 1436
 	/**
1433 1437
 	 * Truncate an array to a certain length.
1434
-	 * @param array $arr Array to truncate
1438
+	 * @param string[] $arr Array to truncate
1435 1439
 	 * @param int $limit Maximum length
1436 1440
 	 * @return bool True if the array was truncated, false otherwise
1437 1441
 	 */
@@ -2638,7 +2642,7 @@  discard block
 block discarded – undo
2638 2642
 	 * "apihelp-{$this->getModulePath()}-description".
2639 2643
 	 *
2640 2644
 	 * @deprecated since 1.25
2641
-	 * @return Message|string|array
2645
+	 * @return boolean
2642 2646
 	 */
2643 2647
 	protected function getDescription() {
2644 2648
 		return false;
@@ -2793,7 +2797,7 @@  discard block
 block discarded – undo
2793 2797
 	 * Generates the parameter descriptions for this module, to be displayed in the
2794 2798
 	 * module's help.
2795 2799
 	 * @deprecated since 1.25
2796
-	 * @return string|bool
2800
+	 * @return string|false
2797 2801
 	 */
2798 2802
 	public function makeHelpMsgParameters() {
2799 2803
 		wfDeprecated( __METHOD__, '1.25' );
@@ -2984,7 +2988,7 @@  discard block
 block discarded – undo
2984 2988
 
2985 2989
 	/**
2986 2990
 	 * @deprecated since 1.25, always returns 0
2987
-	 * @return float
2991
+	 * @return integer
2988 2992
 	 */
2989 2993
 	public function getProfileTime() {
2990 2994
 		wfDeprecated( __METHOD__, '1.25' );
@@ -3007,7 +3011,7 @@  discard block
 block discarded – undo
3007 3011
 
3008 3012
 	/**
3009 3013
 	 * @deprecated since 1.25, always returns 0
3010
-	 * @return float
3014
+	 * @return integer
3011 3015
 	 */
3012 3016
 	public function getProfileDBTime() {
3013 3017
 		wfDeprecated( __METHOD__, '1.25' );
Please login to merge, or discard this patch.