mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 19:54:57 +00:00
Merge branch '3.0'
This commit is contained in:
commit
4427f40112
@ -3064,7 +3064,7 @@ class SFTP extends SSH2
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all errors
|
* Returns all errors on the SFTP layer
|
||||||
*/
|
*/
|
||||||
public function getSFTPErrors(): array
|
public function getSFTPErrors(): array
|
||||||
{
|
{
|
||||||
@ -3072,7 +3072,7 @@ class SFTP extends SSH2
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the last error
|
* Returns the last error on the SFTP layer
|
||||||
*/
|
*/
|
||||||
public function getLastSFTPError(): string
|
public function getLastSFTPError(): string
|
||||||
{
|
{
|
||||||
|
@ -4334,7 +4334,9 @@ class SSH2
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns all errors
|
* Returns all errors / debug messages on the SSH layer
|
||||||
|
*
|
||||||
|
* If you are looking for messages from the SFTP layer, please see SFTP::getSFTPErrors()
|
||||||
*
|
*
|
||||||
* @return string[]
|
* @return string[]
|
||||||
*/
|
*/
|
||||||
@ -4344,7 +4346,9 @@ class SSH2
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the last error
|
* Returns the last error received on the SSH layer
|
||||||
|
*
|
||||||
|
* If you are looking for messages from the SFTP layer, please see SFTP::getLastSFTPError()
|
||||||
*/
|
*/
|
||||||
public function getLastError(): string
|
public function getLastError(): string
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user