From: Aaron Schulz Date: Fri, 10 Nov 2017 06:40:40 +0000 (-0800) Subject: Convert @var Array => array X-Git-Tag: 1.31.0-rc.0~1549^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=e0ff77f13034b33aa2c9a7d7b366772b204e5561;hp=1c421c155f9a3b9d6b7fbfae6255e87119aafb64 Convert @var Array => array Change-Id: Ie5c2d7b8e73cce74af982a5c54b0d487a7f6981d --- diff --git a/includes/DefaultSettings.php b/includes/DefaultSettings.php index d9f032c39c..3cd7ef181a 100644 --- a/includes/DefaultSettings.php +++ b/includes/DefaultSettings.php @@ -5785,7 +5785,7 @@ $wgPasswordAttemptThrottle = [ ]; /** - * @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 @@ -5887,7 +5887,7 @@ $wgGrantPermissions['createaccount']['createaccount'] = 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 = [ diff --git a/includes/libs/HashRing.php b/includes/libs/HashRing.php index f61c139a99..21558f77b6 100644 --- a/includes/libs/HashRing.php +++ b/includes/libs/HashRing.php @@ -26,14 +26,14 @@ * @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;