aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php')
-rw-r--r--vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php b/vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php
index d47c80191..112f72272 100644
--- a/vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php
+++ b/vendor/ramsey/uuid/src/Converter/Time/BigNumberTimeConverter.php
@@ -43,16 +43,17 @@ class BigNumberTimeConverter implements TimeConverterInterface
$usec = new BigNumber($microSeconds);
$usec->multiply('10');
- $uuidTime->add($sec)
+ $uuidTime
+ ->add($sec)
->add($usec)
->add('122192928000000000');
$uuidTimeHex = sprintf('%016s', $uuidTime->convertToBase(16));
- return array(
+ return [
'low' => substr($uuidTimeHex, 8),
'mid' => substr($uuidTimeHex, 4, 4),
'hi' => substr($uuidTimeHex, 0, 4),
- );
+ ];
}
}