Skip to content

Commit

Permalink
Merge branch '1.0' into 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Feb 8, 2024
2 parents bcc04ab + a69364d commit 34ab00b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions phpseclib/Net/SFTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -3789,7 +3789,7 @@ function getSFTPLog()
}

/**
* Returns all errors
* Returns all errors on the SFTP layer
*
* @return array
* @access public
Expand All @@ -3800,7 +3800,7 @@ function getSFTPErrors()
}

/**
* Returns the last error
* Returns the last error on the SFTP layer
*
* @return string
* @access public
Expand Down
8 changes: 6 additions & 2 deletions phpseclib/Net/SSH2.php
Original file line number Diff line number Diff line change
Expand Up @@ -4704,7 +4704,9 @@ function _array_intersect_first($array1, $array2)
}

/**
* 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[]
* @access public
Expand All @@ -4715,7 +4717,9 @@ function getErrors()
}

/**
* 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()
*
* @return string
* @access public
Expand Down

0 comments on commit 34ab00b

Please sign in to comment.