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
+3
View File
@@ -53,6 +53,9 @@ class CombGenerator implements RandomGeneratorInterface
*
* @param integer $length The number of bytes of random binary data to generate
* @return string A binary string
* @throws \Ramsey\Uuid\Exception\UnsatisfiedDependencyException if `Moontoast\Math\BigNumber` is not present
* @throws \InvalidArgumentException if length is not a positive integer
* @throws \Exception
*/
public function generate($length)
{