1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-03 18:18:05 +01:00

SFTP: CS adjustments

This commit is contained in:
terrafrost 2021-07-28 20:33:52 -05:00
parent dab514faff
commit 0ec9d2bdf1

View File

@ -526,7 +526,7 @@ class Net_SFTP extends Net_SSH2
$response = $this->_get_channel_packet(NET_SFTP_CHANNEL, true);
if ($response === false) {
return false;
} else if ($response === true && $this->isTimeout()) {
} elseif ($response === true && $this->isTimeout()) {
return false;
}
@ -574,7 +574,7 @@ class Net_SFTP extends Net_SSH2
if ($response === false) {
return false;
}
} else if ($response === true && $this->isTimeout()) {
} elseif ($response === true && $this->isTimeout()) {
return false;
}