mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-16 16:17:43 +03:00
chore: update package files
This commit is contained in:
+6
-6
@@ -29,7 +29,7 @@ use Ramsey\Uuid\Type\Integer as IntegerObject;
|
||||
* could arise when the clock is set backwards in time or if the node ID
|
||||
* changes
|
||||
*
|
||||
* @return string Version 1 UUID as a string
|
||||
* @return non-empty-string Version 1 UUID as a string
|
||||
*/
|
||||
function v1($node = null, ?int $clockSeq = null): string
|
||||
{
|
||||
@@ -52,7 +52,7 @@ function v1($node = null, ?int $clockSeq = null): string
|
||||
* that could arise when the clock is set backwards in time or if the
|
||||
* node ID changes
|
||||
*
|
||||
* @return string Version 2 UUID as a string
|
||||
* @return non-empty-string Version 2 UUID as a string
|
||||
*/
|
||||
function v2(
|
||||
int $localDomain,
|
||||
@@ -69,7 +69,7 @@ function v2(
|
||||
*
|
||||
* @param string|UuidInterface $ns The namespace (must be a valid UUID)
|
||||
*
|
||||
* @return string Version 3 UUID as a string
|
||||
* @return non-empty-string Version 3 UUID as a string
|
||||
*/
|
||||
function v3($ns, string $name): string
|
||||
{
|
||||
@@ -79,7 +79,7 @@ function v3($ns, string $name): string
|
||||
/**
|
||||
* Returns a version 4 (random) UUID
|
||||
*
|
||||
* @return string Version 4 UUID as a string
|
||||
* @return non-empty-string Version 4 UUID as a string
|
||||
*/
|
||||
function v4(): string
|
||||
{
|
||||
@@ -92,7 +92,7 @@ function v4(): string
|
||||
*
|
||||
* @param string|UuidInterface $ns The namespace (must be a valid UUID)
|
||||
*
|
||||
* @return string Version 5 UUID as a string
|
||||
* @return non-empty-string Version 5 UUID as a string
|
||||
*/
|
||||
function v5($ns, string $name): string
|
||||
{
|
||||
@@ -109,7 +109,7 @@ function v5($ns, string $name): string
|
||||
* could arise when the clock is set backwards in time or if the node ID
|
||||
* changes
|
||||
*
|
||||
* @return string Version 6 UUID as a string
|
||||
* @return non-empty-string Version 6 UUID as a string
|
||||
*/
|
||||
function v6(?Hexadecimal $node = null, ?int $clockSeq = null): string
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user