Skip to content

Commit 2bc65da

Browse files
committed
minor #13549 Fixed uid doc page (vudaltsov)
This PR was merged into the master branch. Discussion ---------- Fixed uid doc page <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 0fd77b1 Update uid.rst
2 parents 7a43e29 + 0fd77b1 commit 2bc65da

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)