Page MenuHomeDevCentral

D2663.id6730.diff
No OneTemporary

D2663.id6730.diff

diff --git a/omnitools/src/Identifiers/UUID.php b/omnitools/src/Identifiers/UUID.php
--- a/omnitools/src/Identifiers/UUID.php
+++ b/omnitools/src/Identifiers/UUID.php
@@ -13,13 +13,13 @@
class UUID {
- const UUID_REGEXP = "/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/";
+ public const UUID_REGEXP = "/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/";
- const MAX_12 = 4095;
- const MAX_48 = 281_474_976_710_655;
- const MAX_62 = 4_611_686_018_427_387_903;
+ private const MAX_12 = 4095;
+ private const MAX_48 = 281_474_976_710_655;
+ private const MAX_62 = 4_611_686_018_427_387_903;
- const UUIDV7_QUANTITY_PER_MS = 63;
+ private const UUIDV7_QUANTITY_PER_MS = 63;
///
/// Public constants from RFC 4122 and draft-peabody-dispatch-new-uuid-format-03

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 20:43 (4 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2311283
Default Alt Text
D2663.id6730.diff (840 B)

Event Timeline