@@ -200,8 +200,8 @@ |
||
200 | 200 | * We don't have any more options, so let's throw an exception right now |
201 | 201 | * and hope the developer won't let it fail silently. |
202 | 202 | * |
203 | - * @param mixed $length |
|
204 | - * @return void |
|
203 | + * @param integer $length |
|
204 | + * @return string |
|
205 | 205 | * @throws Exception |
206 | 206 | */ |
207 | 207 | function random_bytes($length) |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * Generate a 16-bit integer |
27 | 27 | * /dev/urandom |
28 | 28 | * |
29 | - * @return int |
|
29 | + * @return string |
|
30 | 30 | */ |
31 | 31 | function randombytes_random16() |
32 | 32 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * Generate a 16-bit integer |
69 | 69 | * /dev/urandom |
70 | 70 | * |
71 | - * @return int |
|
71 | + * @return string |
|
72 | 72 | */ |
73 | 73 | public static function randombytes_random16() |
74 | 74 | { |