Completed
Pull Request — master (#106)
by Vincent
01:58
created
lib/random.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -165,6 +165,7 @@
 block discarded – undo
165 165
             /**
166 166
              * We don't have any more options, so let's throw an exception right now
167 167
              * and hope the developer won't let it fail silently.
168
+             * @param integer $length
168 169
              */
169 170
             function random_bytes($length)
170 171
             {
Please login to merge, or discard this patch.
lib/random_int.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
          */
124 124
         while ($range > 0) {
125 125
             if ($bits % 8 === 0) {
126
-               ++$bytes;
126
+                ++$bytes;
127 127
             }
128 128
             ++$bits;
129 129
             $range >>= 1;
Please login to merge, or discard this patch.