File tree 2 files changed +3
-3
lines changed
src/Symfony/Component/Validator
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ class Uuid extends Constraint
51
51
public const V4_RANDOM = 4 ;
52
52
public const V5_SHA1 = 5 ;
53
53
public const V6_SORTABLE = 6 ;
54
- public const V7_SORTABLE = 7 ;
54
+ public const V7_MONOTONIC = 7 ;
55
55
public const V8_CUSTOM = 8 ;
56
56
57
57
public const ALL_VERSIONS = [
@@ -61,7 +61,7 @@ class Uuid extends Constraint
61
61
self ::V4_RANDOM ,
62
62
self ::V5_SHA1 ,
63
63
self ::V6_SORTABLE ,
64
- self ::V7_SORTABLE ,
64
+ self ::V7_MONOTONIC ,
65
65
self ::V8_CUSTOM ,
66
66
];
67
67
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function getValidStrictUuids()
82
82
['456daEFb-5AA6-41B5-8DBC-068B05A8B201 ' ], // Version 4 UUID in mixed case
83
83
['456daEFb-5AA6-41B5-8DBC-068B05A8B201 ' , [Uuid::V4_RANDOM ]],
84
84
['1eb01932-4c0b-6570-aa34-d179cdf481ae ' , [Uuid::V6_SORTABLE ]],
85
- ['216fff40-98d9-71e3-a5e2-0800200c9a66 ' , [Uuid::V7_SORTABLE ]],
85
+ ['216fff40-98d9-71e3-a5e2-0800200c9a66 ' , [Uuid::V7_MONOTONIC ]],
86
86
['216fff40-98d9-81e3-a5e2-0800200c9a66 ' , [Uuid::V8_CUSTOM ]],
87
87
];
88
88
}
You can’t perform that action at this time.
0 commit comments