Completed
Push — master ( b5ea1e...13004a )
by Scott
02:00
created
lib/random.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -200,8 +200,8 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
other/ide_stubs/libsodium.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         {
Please login to merge, or discard this patch.