mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
change array declarations
This commit is contained in:
committed by
Ben Ramsey
parent
2074056769
commit
c4cc058f3d
@@ -96,14 +96,14 @@ class DefaultTimeGenerator implements TimeGeneratorInterface
|
||||
|
||||
$hex = vsprintf(
|
||||
'%08s%04s%04s%02s%02s%012s',
|
||||
array(
|
||||
[
|
||||
$uuidTime['low'],
|
||||
$uuidTime['mid'],
|
||||
sprintf('%04x', $timeHi),
|
||||
sprintf('%02x', $clockSeqHi),
|
||||
sprintf('%02x', $clockSeq & 0xff),
|
||||
$node,
|
||||
)
|
||||
]
|
||||
);
|
||||
|
||||
return hex2bin($hex);
|
||||
|
||||
Reference in New Issue
Block a user