aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/uuid/src/BinaryUtils.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ramsey/uuid/src/BinaryUtils.php')
-rw-r--r--vendor/ramsey/uuid/src/BinaryUtils.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/vendor/ramsey/uuid/src/BinaryUtils.php b/vendor/ramsey/uuid/src/BinaryUtils.php
index f04a9d9c1..18ea467d9 100644
--- a/vendor/ramsey/uuid/src/BinaryUtils.php
+++ b/vendor/ramsey/uuid/src/BinaryUtils.php
@@ -18,7 +18,6 @@ class BinaryUtils
{
// Set the variant to RFC 4122
$clockSeqHi = $clockSeqHi & 0x3f;
- $clockSeqHi &= ~(0xc0);
$clockSeqHi |= 0x80;
return $clockSeqHi;
@@ -35,7 +34,6 @@ class BinaryUtils
public static function applyVersion($timeHi, $version)
{
$timeHi = hexdec($timeHi) & 0x0fff;
- $timeHi &= ~(0xf000);
$timeHi |= $version << 12;
return $timeHi;