aboutsummaryrefslogtreecommitdiffstats
path: root/includes/api/ApiBase.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2017-08-11 02:23:16 +0200
committerUmherirrender <umherirrender_de.wp@web.de>2017-08-11 18:47:46 +0200
commita9007e8baf802f0f57d095e3bb4ad201c98c0cb3 (patch)
treeec5aadcc585a2ca9b997db97e35ef26cd236ab2e /includes/api/ApiBase.php
parentb5ddc3a4b4d82023827681c1cc2771fc859ac01b (diff)
downloadmediawikicore-a9007e8baf802f0f57d095e3bb4ad201c98c0cb3.tar.gz
mediawikicore-a9007e8baf802f0f57d095e3bb4ad201c98c0cb3.zip
Add missing & to @param documentation to match functon call
Change-Id: I81e68310abcbc59964b22e0e74842d509f6b1fb9
Diffstat (limited to 'includes/api/ApiBase.php')
-rw-r--r--includes/api/ApiBase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/api/ApiBase.php b/includes/api/ApiBase.php
index 500f4324dff1..81696e03489d 100644
--- a/includes/api/ApiBase.php
+++ b/includes/api/ApiBase.php
@@ -1432,7 +1432,7 @@ abstract class ApiBase extends ContextSource {
* Validate the value against the minimum and user/bot maximum limits.
* Prints usage info on failure.
* @param string $paramName Parameter name
- * @param int $value Parameter value
+ * @param int &$value Parameter value
* @param int|null $min Minimum value
* @param int|null $max Maximum value for users
* @param int $botMax Maximum value for sysops/bots
@@ -1599,7 +1599,7 @@ abstract class ApiBase extends ContextSource {
/**
* Truncate an array to a certain length.
- * @param array $arr Array to truncate
+ * @param array &$arr Array to truncate
* @param int $limit Maximum length
* @return bool True if the array was truncated, false otherwise
*/