Completed
Push — master ( fd986f...2c538c )
by Tian
02:36
created
src/Utils/Code/WXBizMsgCrypt.php 1 patch
Doc Comments   +7 added lines, -5 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * 构造函数
28 28
      *
29
-     * @param $token          string 公众平台上,开发者设置的token
30
-     * @param $encodingAesKey string 公众平台上,开发者设置的EncodingAESKey
31
-     * @param $appId          string 公众平台的appId
29
+     * @param string $token          string 公众平台上,开发者设置的token
30
+     * @param string $encodingAesKey string 公众平台上,开发者设置的EncodingAESKey
31
+     * @param string $appId          string 公众平台的appId
32 32
      */
33 33
     public function __construct($token, $encodingAesKey, $appId)
34 34
     {
@@ -46,10 +46,11 @@  discard block
 block discarded – undo
46 46
      * </ol>
47 47
      *
48 48
      * @param $replyMsg     string 公众平台待回复用户的消息,xml格式的字符串
49
-     * @param $timeStamp    string 时间戳,可以自己生成,也可以用URL参数的timestamp
50
-     * @param $nonce        string 随机串,可以自己生成,也可以用URL参数的nonce
49
+     * @param integer $timeStamp    string 时间戳,可以自己生成,也可以用URL参数的timestamp
50
+     * @param string $nonce        string 随机串,可以自己生成,也可以用URL参数的nonce
51 51
      * @param &$encryptMsg  string 加密后的可以直接回复用户的密文,包括msg_signature, timestamp, nonce, encrypt的xml格式的字符串,
52 52
      *                      当return返回0时有效
53
+     * @param string $encryptMsg
53 54
      *
54 55
      * @return int 成功0,失败返回对应的错误码
55 56
      */
@@ -99,6 +100,7 @@  discard block
 block discarded – undo
99 100
      * @param $nonce        string 随机串,对应URL参数的nonce
100 101
      * @param $postData     string 密文,对应POST请求的数据
101 102
      * @param &$msg         string 解密后的原文,当return返回0时有效
103
+     * @param string $msg
102 104
      *
103 105
      * @return int 成功0,失败返回对应的错误码
104 106
      */
Please login to merge, or discard this patch.