Change-Id: Ie5c2d7b8e73cce74af982a5c54b0d487a7f6981d
- * @var Array Map of (grant => right => boolean)
+ * @var array Map of (grant => right => boolean)
* Users authorize consumers (like Apps) to act on their behalf but only with
* a subset of the user's normal account rights (signed off on by the user).
* The possible rights to grant to a consumer are bundled into groups called
* Users authorize consumers (like Apps) to act on their behalf but only with
* a subset of the user's normal account rights (signed off on by the user).
* The possible rights to grant to a consumer are bundled into groups called
$wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
/**
$wgGrantPermissions['privateinfo']['viewmyprivateinfo'] = true;
/**
- * @var Array Map of grants to their UI grouping
+ * @var array Map of grants to their UI grouping
* @since 1.27
*/
$wgGrantPermissionGroups = [
* @since 1.27
*/
$wgGrantPermissionGroups = [
* @since 1.22
*/
class HashRing {
* @since 1.22
*/
class HashRing {
- /** @var Array (location => weight) */
+ /** @var array (location => weight) */
protected $sourceMap = [];
protected $sourceMap = [];
- /** @var Array (location => (start, end)) */
+ /** @var array (location => (start, end)) */
protected $ring = [];
/** @var HashRing|null */
protected $liveRing;
protected $ring = [];
/** @var HashRing|null */
protected $liveRing;
- /** @var Array (location => UNIX timestamp) */
+ /** @var array (location => UNIX timestamp) */
protected $ejectionExpiries = [];
/** @var int UNIX timestamp */
protected $ejectionNextExpiry = INF;
protected $ejectionExpiries = [];
/** @var int UNIX timestamp */
protected $ejectionNextExpiry = INF;