Completed
Push — master ( 5c6abc...36ea0a )
by Tian
07:58
created
src/Core/CacheDriver/FileDriver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * @param string $name
15 15
      *
16
-     * @return bool|null|string|void
16
+     * @return null|boolean
17 17
      */
18 18
     public function _get($name)
19 19
     {
Please login to merge, or discard this patch.
src/Core/CacheDriver/RedisDriver.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,6 @@
 block discarded – undo
86 86
      * 数据打包.
87 87
      *
88 88
      * @param void $data    缓存值
89
-     * @param int  $expires 超时时间
90 89
      *
91 90
      * @return string
92 91
      */
Please login to merge, or discard this patch.
src/Core/Core.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
     }
147 147
 
148 148
     /**
149
-     * @return mixed
149
+     * @return string
150 150
      */
151 151
     public static function getError()
152 152
     {
Please login to merge, or discard this patch.
src/Core/Http/Http.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -5,6 +5,9 @@  discard block
 block discarded – undo
5 5
 {
6 6
     public static $error;
7 7
 
8
+    /**
9
+     * @param string $apiUrl
10
+     */
8 11
     public static function _post($apiUrl, $data)
9 12
     {
10 13
         $apiUrl = urldecode($apiUrl);
@@ -48,6 +51,9 @@  discard block
 block discarded – undo
48 51
         return self::packData($result);
49 52
     }
50 53
 
54
+    /**
55
+     * @param string $apiUrl
56
+     */
51 57
     public static function _get($apiUrl)
52 58
     {
53 59
         $apiUrl = urldecode($apiUrl);
Please login to merge, or discard this patch.
src/Core/WechatCode/Sha1.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      * @param string $token     票据
18 18
      * @param string $timestamp 时间戳
19 19
      * @param string $nonce     随机字符串
20
-     * @param string $encrypt   密文消息
20
+     * @param string $encrypt_msg   密文消息
21 21
      */
22 22
     public function getSHA1($token, $timestamp, $nonce, $encrypt_msg)
23 23
     {
Please login to merge, or discard this patch.
src/Core/WechatCode/WXBizMsgCrypt.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -94,11 +94,12 @@
 block discarded – undo
94 94
      *    <li>对消息进行解密</li>
95 95
      * </ol>
96 96
      *
97
-     * @param $msgSignature string 签名串,对应URL参数的msg_signature
97
+     * @param string $msgSignature string 签名串,对应URL参数的msg_signature
98 98
      * @param $timestamp    string 时间戳 对应URL参数的timestamp
99
-     * @param $nonce        string 随机串,对应URL参数的nonce
100
-     * @param $postData     string 密文,对应POST请求的数据
99
+     * @param string $nonce        string 随机串,对应URL参数的nonce
100
+     * @param string $postData     string 密文,对应POST请求的数据
101 101
      * @param &$msg         string 解密后的原文,当return返回0时有效
102
+     * @param string $msg
102 103
      *
103 104
      * @return int 成功0,失败返回对应的错误码
104 105
      */
Please login to merge, or discard this patch.
src/Core/DatabaseDriver/RedisDriver.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,6 @@
 block discarded – undo
86 86
      * 数据打包.
87 87
      *
88 88
      * @param void $data    缓存值
89
-     * @param int  $expires 超时时间
90 89
      *
91 90
      * @return string
92 91
      */
Please login to merge, or discard this patch.
src/Core/WechatCode/Pkcs7Encoder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
      *
19 19
      * @param $text 需要进行填充补位操作的明文
20 20
      *
21
-     * @return 补齐明文字符串
21
+     * @return string
22 22
      */
23 23
     public function encode($text)
24 24
     {
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      *
45 45
      * @param decrypted 解密后的明文
46 46
      *
47
-     * @return 删除填充补位后的明文
47
+     * @return string
48 48
      */
49 49
     public function decode($text)
50 50
     {
Please login to merge, or discard this patch.