];
/**
- * @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
$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.22
*/
class HashRing {
- /** @var Array (location => weight) */
+ /** @var array (location => weight) */
protected $sourceMap = [];
- /** @var Array (location => (start, end)) */
+ /** @var array (location => (start, end)) */
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;