Thiemo Mättig (WMDE) has uploaded a new change for review.
https://gerrit.wikimedia.org/r/258965
Change subject: Fix broken/incomplete PHPDoc tags in two utilities
......................................................................
Fix broken/incomplete PHPDoc tags in two utilities
Change-Id: Ib9544a4bb716dae37da2b52d177099d41ed2eaaf
---
M amalgamer.php
M check-vars.php
2 files changed, 3 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/tools/code-utils
refs/changes/65/258965/1
diff --git a/amalgamer.php b/amalgamer.php
index 099b13a..b500a8b 100755
--- a/amalgamer.php
+++ b/amalgamer.php
@@ -108,7 +108,7 @@
/**
* @param $url API url
- * @ return array
+ * @return array
*/
private function reallyFetch( $url )
{
diff --git a/check-vars.php b/check-vars.php
index 65e3532..fc79570 100755
--- a/check-vars.php
+++ b/check-vars.php
@@ -1342,9 +1342,8 @@
}
/**
- * Returns a
- * @param $token Token holding the class name
- * @param $warn A value from 'no', 'defer', 'now¡
+ * @param array $token Token holding the class name
+ * @param string $warn A value from 'no', 'defer', 'now¡
* @return mixed The class name if it is found, false otherwise
*/
function checkClassName( $token, $warn = 'defer' ) {
--
To view, visit https://gerrit.wikimedia.org/r/258965
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib9544a4bb716dae37da2b52d177099d41ed2eaaf
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/tools/code-utils
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits