pass 2, manual removal of incorrect non-nullable phpdoc types

This commit is contained in:
Dylan K. Taylor
2020-01-22 12:06:47 +00:00
parent 67bcc1c0fb
commit 1b33143f4f
15 changed files with 0 additions and 48 deletions

View File

@@ -59,8 +59,6 @@ final class UUID{
/**
* Creates an UUID from an hexadecimal representation
*
* @param int $version
*/
public static function fromString(string $uuid, ?int $version = null) : UUID{
return self::fromBinary(hex2bin(str_replace("-", "", trim($uuid))), $version);
@@ -69,8 +67,6 @@ final class UUID{
/**
* Creates an UUID from a binary representation
*
* @param int $version
*
* @throws \InvalidArgumentException
*/
public static function fromBinary(string $uuid, ?int $version = null) : UUID{