@@ -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 | { |
@@ -202,7 +202,7 @@ |
||
| 202 | 202 | * We don't have any more options, so let's throw an exception right now |
| 203 | 203 | * and hope the developer won't let it fail silently. |
| 204 | 204 | * |
| 205 | - * @param mixed $length |
|
| 205 | + * @param integer $length |
|
| 206 | 206 | * @psalm-suppress InvalidReturnType |
| 207 | 207 | * @throws Exception |
| 208 | 208 | * @return string |