add annotations for thrown exceptions

This commit is contained in:
Marco Perone
2018-07-09 09:04:12 +02:00
parent 8a8b1c0d2a
commit 4b7374129c
21 changed files with 106 additions and 3 deletions
+4
View File
@@ -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);
}