* @param ApiBase $module Module starting the continuation
* @param ApiBase[] $allModules Contains ApiBase instances that will be executed
* @param array $generatedModules Names of modules that depend on the generator
+ * @throws UsageException
*/
public function __construct(
ApiBase $module, array $allModules = array(), array $generatedModules = array()
* - string: passed to RawMessage::__construct
* @param string|null $code
* @param array|null $data
- * @return ApiMessage
*/
public function __construct( $msg, $code = null, array $data = null ) {
if ( $msg instanceof RawMessage ) {
* Extension:ActiveAbstract.
*
* @param string $text
- * @param int $len Target length; actual result will continue to the end of a sentence.
+ * @param int $length Target length; actual result will continue to the end of a sentence.
* @return string
*/
public static function trimExtract( $text, $length ) {
/**
* Validate a value for addition to the result
* @param mixed $value
+ * @return array|mixed|string
*/
private static function validateValue( $value ) {
global $wgContLang;
* Set the array data type for a path
* @since 1.25
* @param array|string|null $path See ApiResult::addValue()
- * @param string $type See ApiResult::META_TYPE
+ * @param string $tag See ApiResult::META_TYPE
* @param string $kvpKeyName See ApiResult::META_KVP_KEY_NAME
*/
public function addArrayType( $path, $tag, $kvpKeyName = null ) {
* Set the array data type for a path recursively
* @since 1.25
* @param array|string|null $path See ApiResult::addValue()
- * @param string $type See ApiResult::META_TYPE
+ * @param string $tag See ApiResult::META_TYPE
* @param string $kvpKeyName See ApiResult::META_KVP_KEY_NAME
*/
public function addArrayTypeRecursive( $path, $tag, $kvpKeyName = null ) {
*
* @see ApiResult::getResultData()
* @since 1.25
- * @param array $data
+ * @param array $dataIn
* @param array $transforms
* @return array|object
*/