mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-09-27 14:49:04 +00:00
Replaced else { if ()...} with elseif() {}
This commit is contained in:
parent
699ac0b0e9
commit
b0de383f95
@ -974,11 +974,9 @@ class Net_SSH2
|
|||||||
|
|
||||||
if (extension_loaded('gmp')) {
|
if (extension_loaded('gmp')) {
|
||||||
$ext[] = 'gmp';
|
$ext[] = 'gmp';
|
||||||
} else {
|
} elseif (extension_loaded('bcmath')) {
|
||||||
if (extension_loaded('bcmath')) {
|
|
||||||
$ext[] = 'bcmath';
|
$ext[] = 'bcmath';
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!empty($ext)) {
|
if (!empty($ext)) {
|
||||||
$identifier .= ' (' . implode(', ', $ext) . ')';
|
$identifier .= ' (' . implode(', ', $ext) . ')';
|
||||||
|
Loading…
Reference in New Issue
Block a user