Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions components/uid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Instantiate the ``Ulid`` class to generate a random ULID value::

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

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

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

.. _`unique identifiers`: https://en.wikipedia.org/wiki/UID
.. _`UUIDs`: https://en.wikipedia.org/wiki/Universally_unique_identifier
Expand Down