Commit 2522cb1
fix: guard preg_match from integer input in UUID7 validation
preg_match expects string but Sequence now accepts int|string. Add
is_string check so integer values skip regex and fall through to
Range validation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d195b21 commit 2522cb1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments