From: Aaron Schulz Date: Thu, 4 Oct 2018 08:11:26 +0000 (-0700) Subject: Clean up UIDGenerator field comments X-Git-Tag: 1.34.0-rc.0~3886^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/Bar?a=commitdiff_plain;h=d739e97884b68ced3d16e141d1031660069589b2;p=lhc%2Fweb%2Fwiklou.git Clean up UIDGenerator field comments Change-Id: I0c6d125ec03a56fe0b3456cff7d498d231315e0d --- diff --git a/includes/utils/UIDGenerator.php b/includes/utils/UIDGenerator.php index 4b5410e2f1..3414941f58 100644 --- a/includes/utils/UIDGenerator.php +++ b/includes/utils/UIDGenerator.php @@ -30,17 +30,22 @@ use MediaWiki\MediaWikiServices; class UIDGenerator { /** @var UIDGenerator */ protected static $instance = null; - - protected $nodeIdFile; // string; local file path - protected $nodeId32; // string; node ID in binary (32 bits) - protected $nodeId48; // string; node ID in binary (48 bits) - - protected $lockFile88; // string; local file path - protected $lockFile128; // string; local file path - protected $lockFileUUID; // string; local file path - - /** @var array */ - protected $fileHandles = []; // cache file handles + /** @var string Local file path */ + protected $nodeIdFile; + /** @var string Node ID in binary (32 bits) */ + protected $nodeId32; + /** @var string Node ID in binary (48 bits) */ + protected $nodeId48; + + /** @var string Local file path */ + protected $lockFile88; + /** @var string Local file path */ + protected $lockFile128; + /** @var string Local file path */ + protected $lockFileUUID; + + /** @var array Cached file handles */ + protected $fileHandles = []; // cached file handles const QUICK_RAND = 1; // get randomness from fast and insecure sources const QUICK_VOLATILE = 2; // use an APC like in-memory counter if available