Skip to content

Commit 3abba12

Browse files
Hmachejaviereguiluz
authored andcommitted
[uid] Fix Uuid::v8() usage example to show it requires a UUID string
This update corrects the usage example of Uuid::v8() to prevent misuse and confusion
1 parent 6e50d91 commit 3abba12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/uid.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ of the UUID value is specific to each implementation and no format should be ass
140140
use Symfony\Component\Uid\Uuid;
141141

142142
// $uuid is an instance of Symfony\Component\Uid\UuidV8
143-
$uuid = Uuid::v8();
143+
$uuid = Uuid::v8('d9e7a184-5d5b-11ea-a62a-3499710062d0');
144144

145145
.. versionadded:: 6.2
146146

0 commit comments

Comments
 (0)