mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
add annotations for thrown exceptions
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user