Skip to content

Commit

Permalink
Revert "fix issue netputer#25, changed ErrorCode class properties to …
Browse files Browse the repository at this point in the history
…static"

This reverts commit cadf741.
  • Loading branch information
kangyue92 committed Dec 22, 2016
1 parent cadf741 commit a94ba70
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/errorCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@
*/
class ErrorCode
{
static $OK = 0;
static $ValidateSignatureError = -40001;
static $ParseXmlError = -40002;
static $ComputeSignatureError = -40003;
static $IllegalAesKey = -40004;
static $ValidateAppidError = -40005;
static $EncryptAESError = -40006;
static $DecryptAESError = -40007;
static $IllegalBuffer = -40008;
static $EncodeBase64Error = -40009;
static $DecodeBase64Error = -40010;
static $GenReturnXmlError = -40011;
public $OK = 0;
public $ValidateSignatureError = -40001;
public $ParseXmlError = -40002;
public $ComputeSignatureError = -40003;
public $IllegalAesKey = -40004;
public $ValidateAppidError = -40005;
public $EncryptAESError = -40006;
public $DecryptAESError = -40007;
public $IllegalBuffer = -40008;
public $EncodeBase64Error = -40009;
public $DecodeBase64Error = -40010;
public $GenReturnXmlError = -40011;
}

0 comments on commit a94ba70

Please sign in to comment.