mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-26 17:46:38 +03:00
change array declarations
This commit is contained in:
committed by
Ben Ramsey
parent
4de1348099
commit
b234bec5b9
@@ -44,11 +44,11 @@ class GmpTimeConverter implements TimeConverterInterface
|
||||
|
||||
$uuidTimeHex = sprintf('%016s', gmp_strval($uuidTime, 16));
|
||||
|
||||
return array(
|
||||
return [
|
||||
'low' => substr($uuidTimeHex, 8),
|
||||
'mid' => substr($uuidTimeHex, 4, 4),
|
||||
'hi' => substr($uuidTimeHex, 0, 4),
|
||||
);
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user