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:
@@ -30,6 +30,10 @@ interface TimeGeneratorInterface
|
||||
* could arise when the clock is set backwards in time or if the node ID
|
||||
* changes.
|
||||
* @return string A binary string
|
||||
* @throws \Ramsey\Uuid\Exception\UnsatisfiedDependencyException if called on a 32-bit system and
|
||||
* `Moontoast\Math\BigNumber` is not present
|
||||
* @throws \InvalidArgumentException
|
||||
* @throws \Exception if it was not possible to gather sufficient entropy
|
||||
*/
|
||||
public function generate($node = null, $clockSeq = null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user