From edc924869faf9da046677f834d968b261f922cf1 Mon Sep 17 00:00:00 2001 From: umherirrender Date: Sun, 6 Apr 2014 20:02:32 +0200 Subject: [PATCH] Changed some comments from /// to /** @var */ Change-Id: I55b30099e4464c272c35bcabbddbb0b1364a5d65 --- includes/Block.php | 12 ++++++------ includes/logging/LogFormatter.php | 4 ++-- includes/search/SearchEngine.php | 2 +- includes/specials/SpecialBlock.php | 10 +++++----- includes/specials/SpecialSearch.php | 10 +++++----- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/includes/Block.php b/includes/Block.php index 74ece4c13d..a3d36913a8 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -31,22 +31,22 @@ class Block { $mCreateAccount, $mParentBlockId; - /// @var User|String + /** @var User|String */ protected $target; - // @var Integer Hack for foreign blocking (CentralAuth) + /** @var Integer Hack for foreign blocking (CentralAuth) */ protected $forcedTargetID; - /// @var Block::TYPE_ constant. Can only be USER, IP or RANGE internally + /** @var Integer Block::TYPE_ constant. Can only be USER, IP or RANGE internally */ protected $type; - /// @var User + /** @var User */ protected $blocker; - /// @var Bool + /** @var Bool */ protected $isHardblock = true; - /// @var Bool + /** @var Bool */ protected $isAutoblocking = true; # TYPE constants diff --git a/includes/logging/LogFormatter.php b/includes/logging/LogFormatter.php index 4f44d75813..ed3a8da19c 100644 --- a/includes/logging/LogFormatter.php +++ b/includes/logging/LogFormatter.php @@ -77,10 +77,10 @@ class LogFormatter { /** @var LogEntryBase */ protected $entry; - /// Integer constant for handling log_deleted + /** @var Integer Constant for handling log_deleted */ protected $audience = self::FOR_PUBLIC; - /// Whether to output user tool links + /** @var bool Whether to output user tool links */ protected $linkFlood = false; /** diff --git a/includes/search/SearchEngine.php b/includes/search/SearchEngine.php index 507a5200e6..687f9a4204 100644 --- a/includes/search/SearchEngine.php +++ b/includes/search/SearchEngine.php @@ -37,7 +37,7 @@ class SearchEngine { var $namespaces = array( NS_MAIN ); protected $showSuggestion = true; - /// Feature values + /** @var Array Feature values */ protected $features = array(); /** diff --git a/includes/specials/SpecialBlock.php b/includes/specials/SpecialBlock.php index 9b1b2b3f13..57637c97c4 100644 --- a/includes/specials/SpecialBlock.php +++ b/includes/specials/SpecialBlock.php @@ -32,19 +32,19 @@ class SpecialBlock extends FormSpecialPage { * or as subpage (Special:Block/Foo) */ protected $target; - /// @var Block::TYPE_ constant + /** @var Integer Block::TYPE_ constant */ protected $type; - /// @var User|String the previous block target + /** @var User|String the previous block target */ protected $previousTarget; - /// @var Bool whether the previous submission of the form asked for HideUser + /** @var Bool whether the previous submission of the form asked for HideUser */ protected $requestedHideUser; - /// @var Bool + /** @var Bool */ protected $alreadyBlocked; - /// @var Array + /** @var Array */ protected $preErrors = array(); public function __construct() { diff --git a/includes/specials/SpecialSearch.php b/includes/specials/SpecialSearch.php index d4c47e8377..ec8d754e26 100644 --- a/includes/specials/SpecialSearch.php +++ b/includes/specials/SpecialSearch.php @@ -34,20 +34,20 @@ class SpecialSearch extends SpecialPage { * For users tt replaces the set of enabled namespaces from the query * string when applicable. Extensions can add new profiles with hooks * with custom search options just for that profile. - * null|string + * @var null|string */ protected $profile; - /// Search engine + /** @var SearchEngine Search engine */ protected $searchEngine; - /// Search engine type, if not default + /** @var String Search engine type, if not default */ protected $searchEngineType; - /// For links + /** @var Array For links */ protected $extraParams = array(); - /// No idea, apparently used by some other classes + /** @var String No idea, apparently used by some other classes */ protected $mPrefix; /** -- 2.20.1