mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-08 14:51:00 +00:00
Coding standards fix
This commit is contained in:
parent
bbbfc1795d
commit
8a5dc21835
@ -56,8 +56,7 @@ class Random
|
||||
if (version_compare(PHP_VERSION, '7.0.0', '>=')) {
|
||||
try {
|
||||
return random_bytes($length);
|
||||
}
|
||||
catch (\Error $e) {
|
||||
} catch (\Error $e) {
|
||||
// If a sufficient source of randomness is unavailable, random_bytes() will emit a warning.
|
||||
// We don't actually need to do anything here. The string() method should just continue
|
||||
// as normal. Note, however, that if we don't have a sufficient source of randomness for
|
||||
|
Loading…
Reference in New Issue
Block a user