Changed some comments from /// to /** @var */
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 6 Apr 2014 18:02:32 +0000 (20:02 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Mon, 7 Apr 2014 05:01:19 +0000 (05:01 +0000)
Change-Id: I55b30099e4464c272c35bcabbddbb0b1364a5d65

includes/Block.php
includes/logging/LogFormatter.php
includes/search/SearchEngine.php
includes/specials/SpecialBlock.php
includes/specials/SpecialSearch.php

index 74ece4c..a3d3691 100644 (file)
@@ -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
index 4f44d75..ed3a8da 100644 (file)
@@ -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;
 
        /**
index 507a520..687f9a4 100644 (file)
@@ -37,7 +37,7 @@ class SearchEngine {
        var $namespaces = array( NS_MAIN );
        protected $showSuggestion = true;
 
-       /// Feature values
+       /** @var Array Feature values */
        protected $features = array();
 
        /**
index 9b1b2b3..57637c9 100644 (file)
@@ -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() {
index d4c47e8..ec8d754 100644 (file)
@@ -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;
 
        /**