mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-24 17:35:57 +03:00
add typehints and return types
This commit is contained in:
committed by
Ben Ramsey
parent
3a42c259a7
commit
5459113b81
@@ -31,7 +31,7 @@ class RandomNodeProvider implements NodeProviderInterface
|
||||
* @return string System node ID as a hexadecimal string
|
||||
* @throws Exception if it was not possible to gather sufficient entropy
|
||||
*/
|
||||
public function getNode()
|
||||
public function getNode(): string
|
||||
{
|
||||
$nodeBytes = random_bytes(6);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user