Improve test coverage for ApiBase.php
[lhc/web/wiklou.git] / includes / api / ApiMain.php
index a7e3c1b..01e889d 100644 (file)
@@ -1720,8 +1720,8 @@ class ApiMain extends ApiBase {
        /**
         * Get a request value, and register the fact that it was used, for logging.
         * @param string $name
-        * @param mixed $default
-        * @return mixed
+        * @param string|null $default
+        * @return string|null
         */
        public function getVal( $name, $default = null ) {
                $this->mParamsUsed[$name] = true;