* and hope the developer won't let it fail silently.
*
* @param mixed $length
- * @return void
+ * @psalm-suppress MissingReturnType
* @throws Exception
+ * @return string
*/
function random_bytes($length)
{
throw new Exception(
'There is no suitable CSPRNG installed on your system'
);
+ return '';
}
}
}