jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/365573 )

Change subject: Add missing {number} type hints
......................................................................


Add missing {number} type hints

Change-Id: I3b6e129586610a9b0bfd6a725ab54bac853aa6da
---
M tests/RepoApi.tests.js
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jonas Kress (WMDE): Looks good to me, approved
  jenkins-bot: Verified



diff --git a/tests/RepoApi.tests.js b/tests/RepoApi.tests.js
index ed0cb96..a8c3ea8 100644
--- a/tests/RepoApi.tests.js
+++ b/tests/RepoApi.tests.js
@@ -31,7 +31,7 @@
  * Returns all request parameters submitted to the function performing the 
`get` or `post` request.
  *
  * @param {Object} spy The SinonJS spy to extract the parameters from.
- * @param [callIndex=0] The call index if multiple API calls have been 
performed on the same spy.
+ * @param {number} [callIndex=0] The call index if multiple API calls have 
been performed on the same spy.
  * @return {Object}
  */
 function getParams( spy, callIndex ) {
@@ -44,7 +44,7 @@
  *
  * @param {Object} spy The SinonJS spy to extract the parameters from.
  * @param {string} paramName
- * @param [callIndex=0] The call index if multiple API calls have been 
performed on the same spy.
+ * @param {number} [callIndex=0] The call index if multiple API calls have 
been performed on the same spy.
  * @return {string}
  */
 function getParam( spy, paramName, callIndex ) {

-- 
To view, visit https://gerrit.wikimedia.org/r/365573
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I3b6e129586610a9b0bfd6a725ab54bac853aa6da
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseJavaScriptApi
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
Gerrit-Reviewer: Aude <[email protected]>
Gerrit-Reviewer: Jonas Kress (WMDE) <[email protected]>
Gerrit-Reviewer: Maintenance-bot <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to