Changed repo
This commit is contained in:
@@ -67,10 +67,13 @@ class CorrelativeUtils
|
|||||||
/**
|
/**
|
||||||
* Auto-generates an algorithmically valid Rut, because why not.
|
* Auto-generates an algorithmically valid Rut, because why not.
|
||||||
*
|
*
|
||||||
|
* @noinspection PhpDocMissingThrowsInspection
|
||||||
|
*
|
||||||
* @return Rut
|
* @return Rut
|
||||||
*/
|
*/
|
||||||
public static function autoGenerateValidRut(): Rut
|
public static function autoGenerateValidRut(): Rut
|
||||||
{
|
{
|
||||||
|
/** @noinspection PhpUnhandledExceptionInspection */
|
||||||
$correlative = \random_int(1000000, 40000000);
|
$correlative = \random_int(1000000, 40000000);
|
||||||
|
|
||||||
return static::createValidRutOnlyFromCorrelative($correlative);
|
return static::createValidRutOnlyFromCorrelative($correlative);
|
||||||
|
|||||||
Reference in New Issue
Block a user