8000 Update uid.rst · symfony/symfony-docs@0fd77b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0fd77b1

Browse files
authored
Update uid.rst
1 parent 7a43e29 commit 0fd77b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/uid.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Instantiate the ``Ulid`` class to generate a random ULID value::
137137

138138
$ulid = new Ulid(); // e.g. 01AN4Z07BY79KA1307SR9X4MV3
139139

140-
If your UUID is generated by another system, use the ``fromString()`` method to
140+
If your ULID is generated by another system, use the ``fromString()`` method to
141141
create an object and make use of the utilities available for Symfony ULIDs::
142142

143143
// this value is generated somewhere else
@@ -180,7 +180,7 @@ ULID objects created with the ``Ulid`` class can use the following methods::
180180
// comparing ULIDs and checking for equality
181181
$ulid1->equals($ulid2); // false
182182
// this method returns $ulid1 <=> $ulid2
183-
$uuid1->compare($uuid4); // e.g. int(-1)
183+
$ulid1->compare($ulid2); // e.g. int(-1)
184184

185185
.. _`unique identifiers`: https://en.wikipedia.org/wiki/UID
186186
.. _`UUIDs`: https://en.wikipedia.org/wiki/Universally_unique_identifier

0 commit comments

Comments
 (0)
0