mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-24 17:35:57 +03:00
Change NodeProviderInterface::getNode() to return Hexadecimal
This commit is contained in:
@@ -14,18 +14,17 @@ declare(strict_types=1);
|
||||
|
||||
namespace Ramsey\Uuid\Provider;
|
||||
|
||||
use Ramsey\Uuid\Type\Hexadecimal;
|
||||
|
||||
/**
|
||||
* A node provider retrieves the system node ID
|
||||
*
|
||||
* The system node ID, or host ID, is often the same as the MAC address for a
|
||||
* network interface on the host.
|
||||
* A node provider retrieves or generates a node ID
|
||||
*/
|
||||
interface NodeProviderInterface
|
||||
{
|
||||
/**
|
||||
* Returns the system node ID
|
||||
* Returns a node ID
|
||||
*
|
||||
* @return string|false|null System node ID as a hexadecimal string
|
||||
* @return Hexadecimal The node ID as a hexadecimal string
|
||||
*/
|
||||
public function getNode();
|
||||
public function getNode(): Hexadecimal;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user