mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-16 19:59:11 +00:00
pass 2, manual removal of incorrect non-nullable phpdoc types
This commit is contained in:
@@ -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{
|
||||
|
Reference in New Issue
Block a user