Add missing @var tags with types or add missing types to @var
Change-Id: I34eb4c26d34da072465f1b162fb2d0291610f564
* shared cache (memcached). Any operation which changes the
* corresponding database fields must call a cache-clearing function.
* @showinitializer
* shared cache (memcached). Any operation which changes the
* corresponding database fields must call a cache-clearing function.
* @showinitializer
*/
protected static $mCacheVars = [
// user table
*/
protected static $mCacheVars = [
// user table
* Each of these should have a corresponding message of the form
* "right-$right".
* @showinitializer
* Each of these should have a corresponding message of the form
* "right-$right".
* @showinitializer
*/
protected static $mCoreRights = [
'apihighlimits',
*/
protected static $mCoreRights = [
'apihighlimits',
- * String Cached results of getAllRights()
+ * @var string[] Cached results of getAllRights()
*/
protected static $mAllRights = false;
*/
protected static $mAllRights = false;
protected $mOptionOverrides;
// @}
protected $mOptionOverrides;
// @}
- * Bool Whether the cache variables have been loaded.
+ * @var bool Whether the cache variables have been loaded.
public $mOptionsLoaded;
/**
public $mOptionsLoaded;
/**
- * Array with already loaded items or true if all items have been loaded.
+ * @var array|bool Array with already loaded items or true if all items have been loaded.
*/
protected $mLoadedItems = [];
// @}
/**
*/
protected $mLoadedItems = [];
// @}
/**
- * String Initialization data source if mLoadedItems!==true. May be one of:
+ * @var string Initialization data source if mLoadedItems!==true. May be one of:
* - 'defaults' anonymous user initialised from class defaults
* - 'name' initialise from mName
* - 'id' initialise from mId
* - 'defaults' anonymous user initialised from class defaults
* - 'name' initialise from mName
* - 'id' initialise from mId
/**
* Lazy-initialized variables, invalidated with clearInstanceCache
*/
/**
* Lazy-initialized variables, invalidated with clearInstanceCache
*/
protected $mNewtalk;
/** @var string */
protected $mDatePreference;
protected $mNewtalk;
/** @var string */
protected $mDatePreference;
/** @var bool */
protected $mAllowUsertalk;
/** @var bool */
protected $mAllowUsertalk;
- /** @var AbstractBlock */
+ /** @var AbstractBlock|bool */
private $mBlockedFromCreateAccount = false;
/** @var int User::READ_* constant bitfield used to load data */
protected $queryFlagsUsed = self::READ_NORMAL;
private $mBlockedFromCreateAccount = false;
/** @var int User::READ_* constant bitfield used to load data */
protected $queryFlagsUsed = self::READ_NORMAL;
public static $idCacheByName = [];
/**
public static $idCacheByName = [];
/**