Merge branch '2.0-travis-exp' into master-travis-exp

This commit is contained in:
terrafrost 2017-12-03 22:41:02 -06:00
commit f0b1439639

View File

@ -46,6 +46,10 @@ abstract class Random
*/
public static function string($length)
{
if (!$length) {
return '';
}
try {
return \random_bytes($length);
} catch (\Exception $e) {