chore: update package files

This commit is contained in:
Ben Ramsey
2021-08-06 14:05:57 -05:00
parent 90a87a7543
commit c005f69d6e
67 changed files with 890 additions and 615 deletions
+6 -6
View File
@@ -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
{