mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
add uuid
This commit is contained in:
parent
a27b433ef4
commit
3d26dc8fdd
|
|
@ -34,6 +34,7 @@ final class UUID
|
|||
*/
|
||||
public static function default(int $length = 16) : string
|
||||
{
|
||||
/** @phpstan-ignore-next-line */
|
||||
if ($length < 8) {
|
||||
throw new \InvalidArgumentException();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user