Siebrand has uploaded a new change for review. https://gerrit.wikimedia.org/r/104018
Change subject: Update documentation ...................................................................... Update documentation Change-Id: I2f89405b54519e3f3b269d310f65a4c1660d2e8c --- M MessageGroups.php M specials/SpecialManageTranslatorSandbox.php M specials/SpecialTranslate.php M specials/SpecialTranslationStash.php 4 files changed, 6 insertions(+), 9 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate refs/changes/18/104018/1 diff --git a/MessageGroups.php b/MessageGroups.php index 33a8d94..1a97882 100644 --- a/MessageGroups.php +++ b/MessageGroups.php @@ -425,7 +425,7 @@ * * @param string[] $ids Group IDs * @param bool $skipMeta Skip aggregate message groups - * @return array + * @return MessageGroup[] * @since 2012-02-13 */ public static function getGroupsById( array $ids, $skipMeta = false ) { diff --git a/specials/SpecialManageTranslatorSandbox.php b/specials/SpecialManageTranslatorSandbox.php index 12cb71a..52628a3 100644 --- a/specials/SpecialManageTranslatorSandbox.php +++ b/specials/SpecialManageTranslatorSandbox.php @@ -14,7 +14,7 @@ * @ingroup SpecialPage TranslateSpecialPage */ class SpecialManageTranslatorSandbox extends SpecialPage { - ///< @param TranslationStashStorage + /** @var TranslationStashStorage */ protected $stash; function __construct() { @@ -183,6 +183,7 @@ $requests = array(); $users = TranslateSandbox::getUsers(); + /** @var User $user */ foreach ( $users as $user ) { $reminders = $user->getOption( 'translate-sandbox-reminders' ); $reminders = $reminders ? explode( '|', $reminders ) : array(); diff --git a/specials/SpecialTranslate.php b/specials/SpecialTranslate.php index 13e4da0..24212a9 100644 --- a/specials/SpecialTranslate.php +++ b/specials/SpecialTranslate.php @@ -16,14 +16,10 @@ * @ingroup SpecialPage TranslateSpecialPage */ class SpecialTranslate extends SpecialPage { - /** - * @var TranslateTask - */ + /** @var TranslateTask */ protected $task = null; - /** - * @var MessageGroup - */ + /** @var MessageGroup */ protected $group = null; protected $defaults = null; diff --git a/specials/SpecialTranslationStash.php b/specials/SpecialTranslationStash.php index bb3a80f..409ea63 100644 --- a/specials/SpecialTranslationStash.php +++ b/specials/SpecialTranslationStash.php @@ -13,7 +13,7 @@ * @ingroup SpecialPage TranslateSpecialPage */ class SpecialTranslationStash extends SpecialPage { - ///< @param TranslationStashStorage + /** @var TranslationStashStorage */ protected $stash; function __construct() { -- To view, visit https://gerrit.wikimedia.org/r/104018 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2f89405b54519e3f3b269d310f65a4c1660d2e8c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Siebrand <siebr...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits