Skip to content

Commit c37a518

Browse files
committed
Removed the UUID variant method
1 parent 404dff1 commit c37a518

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

components/uid.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,8 @@ UUID objects created with the ``Uuid`` class can use the following methods
8686

8787
$uuid4->isNull(); // false
8888

89-
// the Uuid class defines public constants for all versions and variants
90-
// (e.g. Uuid::TYPE_1, Uuid::TYPE_3, Uuid::VARIANT_NCS, etc.)
91-
$uuid4->getType(); // int(4)
92-
$uuid4->getVariant(); // int(1)
89+
// the Uuid class defines public constants for all versions (Uuid::TYPE_1, Uuid::TYPE_3, etc.)
90+
$uuid4->getType(); // int(4)
9391

9492
// the time and MAC address is only available in certain UUID types
9593
$uuid1 = Uuid::v1();

0 commit comments

Comments
 (0)