X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryBase.php;h=47ff0fb9219cc2c85e0669a8f563b1c9f6ae1f74;hb=701b642fdc55de095e050cc56d65c61225473a06;hp=122e02fec77864f88d6c336eb6ab910d502e1028;hpb=284778405b0e41c57b3085958401e07b6ca742e6;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryBase.php b/includes/api/ApiQueryBase.php index 122e02fec7..47ff0fb921 100644 --- a/includes/api/ApiQueryBase.php +++ b/includes/api/ApiQueryBase.php @@ -151,7 +151,8 @@ abstract class ApiQueryBase extends ApiBase { /** * Add a set of tables to the internal array - * @param string|string[] $tables Table name or array of table names + * @param string|array $tables Table name or array of table names + * or nested arrays for joins using parentheses for grouping * @param string|null $alias Table alias, or null for no alias. Cannot be * used with multiple tables */ @@ -501,7 +502,7 @@ abstract class ApiQueryBase extends ApiBase { /** * Same as addPageSubItems(), but one element of $data at a time * @param int $pageId Page ID - * @param array $item Data array à la ApiResult + * @param mixed $item Data à la ApiResult * @param string|null $elemname XML element name. If null, getModuleName() * is used * @return bool Whether the element fit in the result