mirror of
https://github.com/danog/tgseclib.git
synced 2024-12-03 10:07:47 +01:00
Set of PHPDOC fixes
Fixed methods visibility
This commit is contained in:
parent
ccfb6c92bf
commit
0fd58aeb7e
@ -3024,7 +3024,7 @@ class SFTP extends SSH2
|
||||
* Returns a string if NET_SFTP_LOGGING == self::LOG_COMPLEX, an array if NET_SFTP_LOGGING == self::LOG_SIMPLE and false if !defined('NET_SFTP_LOGGING')
|
||||
*
|
||||
* @access public
|
||||
* @return string or Array
|
||||
* @return array|string
|
||||
*/
|
||||
public function getSFTPLog()
|
||||
{
|
||||
@ -3086,7 +3086,7 @@ class SFTP extends SSH2
|
||||
* @return bool
|
||||
* @access private
|
||||
*/
|
||||
private function disconnect_helper($reason)
|
||||
protected function disconnect_helper($reason)
|
||||
{
|
||||
$this->pwd = false;
|
||||
parent::disconnect_helper($reason);
|
||||
|
@ -1079,7 +1079,7 @@ class SSH1
|
||||
* http://www.securiteam.com/securitynews/5LP042K3FY.html
|
||||
*
|
||||
* @see self::_send_binary_packet()
|
||||
* @return array
|
||||
* @return array|bool
|
||||
* @access private
|
||||
*/
|
||||
private function get_binary_packet()
|
||||
|
@ -652,7 +652,7 @@ class SSH2
|
||||
* @see self::_get_channel_packet()
|
||||
* @access private
|
||||
*/
|
||||
private $curTimeout;
|
||||
protected $curTimeout;
|
||||
|
||||
/**
|
||||
* Real-time log file pointer
|
||||
@ -890,7 +890,7 @@ class SSH2
|
||||
* @param int $port
|
||||
* @param int $timeout
|
||||
* @see self::login()
|
||||
* @return \phpseclib\Net\SSH2
|
||||
* @return SSH2|void
|
||||
* @access public
|
||||
*/
|
||||
public function __construct($host, $port = 22, $timeout = 10)
|
||||
@ -3829,7 +3829,7 @@ class SSH2
|
||||
* @return bool
|
||||
* @access private
|
||||
*/
|
||||
private function disconnect_helper($reason)
|
||||
protected function disconnect_helper($reason)
|
||||
{
|
||||
if ($this->bitmap & self::MASK_CONNECTED) {
|
||||
$data = pack('CNNa*Na*', NET_SSH2_MSG_DISCONNECT, $reason, 0, '', 0, '');
|
||||
|
Loading…
Reference in New Issue
Block a user