Merge branch '3.0'

This commit is contained in:
terrafrost 2024-02-07 22:44:27 -06:00
commit 4427f40112
2 changed files with 8 additions and 4 deletions

View File

@ -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
{ {

View File

@ -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
{ {