This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php b/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php | |
index cdf0bec..32ecd33 100644 | |
--- a/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php | |
+++ b/vendor/phpseclib/phpseclib/phpseclib/Net/SFTP.php | |
@@ -598,7 +598,7 @@ class SFTP extends SSH2 | |
$response = $this->get_sftp_packet(); | |
if ($this->packet_type != NET_SFTP_VERSION) { | |
throw new \UnexpectedValueException('Expected NET_SFTP_VERSION. ' | |
- . 'Got packet type: ' . $this->packet_type); | |
+ . 'Got packet type: ' . $this->get_packet_type_name($response)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Created by IntelliJ IDEA. | |
* User: xts | |
* Date: 15/5/20 | |
* Time: 10:05PM | |
*/ | |
namespace xts; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace wechat; | |
class AESErrorCode { | |
const OK = 0; | |
const ValidateSignatureError = -40001; | |
const ParseXmlError = -40002; | |
const ComputeSignatureError = -40003; | |
const IllegalAesKey = -40004; |