This commit is contained in:
Dennis Eichhorn 2022-12-24 23:57:11 +01:00
parent a27b433ef4
commit 3d26dc8fdd

View File

@ -34,6 +34,7 @@ final class UUID
*/
public static function default(int $length = 16) : string
{
/** @phpstan-ignore-next-line */
if ($length < 8) {
throw new \InvalidArgumentException();
}