aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/uuid/src/DegradedUuid.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ramsey/uuid/src/DegradedUuid.php')
-rw-r--r--vendor/ramsey/uuid/src/DegradedUuid.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/ramsey/uuid/src/DegradedUuid.php b/vendor/ramsey/uuid/src/DegradedUuid.php
index bcf0be800..26697615c 100644
--- a/vendor/ramsey/uuid/src/DegradedUuid.php
+++ b/vendor/ramsey/uuid/src/DegradedUuid.php
@@ -14,6 +14,8 @@
namespace Ramsey\Uuid;
+use DateTime;
+use Moontoast\Math\BigNumber;
use Ramsey\Uuid\Exception\UnsatisfiedDependencyException;
use Ramsey\Uuid\Exception\UnsupportedOperationException;
@@ -35,13 +37,13 @@ class DegradedUuid extends Uuid
$time = $this->converter->fromHex($this->getTimestampHex());
- $ts = new \Moontoast\Math\BigNumber($time, 20);
+ $ts = new BigNumber($time, 20);
$ts->subtract('122192928000000000');
$ts->divide('10000000.0');
$ts->round();
$unixTime = $ts->getValue();
- return new \DateTime("@{$unixTime}");
+ return new DateTime("@{$unixTime}");
}
/**