mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-24 17:35:57 +03:00
add annotations for thrown exceptions
This commit is contained in:
@@ -43,6 +43,7 @@ class FallbackNodeProvider implements NodeProviderInterface
|
||||
* and returning the first non-empty value found
|
||||
*
|
||||
* @return string System node ID as a hexadecimal string
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function getNode()
|
||||
{
|
||||
|
||||
@@ -28,6 +28,7 @@ class RandomNodeProvider implements NodeProviderInterface
|
||||
* Returns the system node ID
|
||||
*
|
||||
* @return string System node ID as a hexadecimal string
|
||||
* @throws \Exception if it was not possible to gather sufficient entropy
|
||||
*/
|
||||
public function getNode()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user