X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FUIDGenerator.php;h=b042d8c7181c71140586b131e2ce8e3fcd87c5d6;hb=893ff1ed77d6f0f3deba85ba240a74e16ed8cd02;hp=816c3b89746ebf4fa4dca54f6953e9f7ebacd447;hpb=6114f05fc1e5d196db23287e829ccef44148d60d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/UIDGenerator.php b/includes/UIDGenerator.php index 816c3b8974..b042d8c718 100644 --- a/includes/UIDGenerator.php +++ b/includes/UIDGenerator.php @@ -39,7 +39,7 @@ class UIDGenerator { /** @var Array */ protected $fileHandles = array(); // cache file handles - const QUICK_RAND = 1; // get randomness from fast and unsecure sources + const QUICK_RAND = 1; // get randomness from fast and insecure sources protected function __construct() { $idFile = wfTempDir() . '/mw-' . __CLASS__ . '-UID-nodeid'; @@ -152,7 +152,7 @@ class UIDGenerator { } /** - * @param array $info (UIDGenerator::milltime(), counter, clock sequence) + * @param array $info (UIDGenerator::millitime(), counter, clock sequence) * @return string 128 bits */ protected function getTimestampedID128( array $info ) {