Completed
Pull Request — master (#106)
by
unknown
02:07
created
src/phpsms/lib/CCPRestSmsSDK.php 1 patch
Doc Comments   +10 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,6 +24,11 @@  discard block
 block discarded – undo
24 24
     private $Batch;  //时间戳
25 25
     private $BodyType = 'xml'; //包体格式,可填值:json 、xml
26 26
 
27
+    /**
28
+     * @param string $ServerIP
29
+     * @param string $ServerPort
30
+     * @param string $SoftVersion
31
+     */
27 32
     public function __construct($ServerIP, $ServerPort, $SoftVersion, $BodyType = 'xml')
28 33
     {
29 34
         $this->Batch = date('YmdHis');
@@ -63,9 +68,9 @@  discard block
 block discarded – undo
63 68
       * @param string $url
64 69
       * @param mixed $data
65 70
       * @param mixed $header
66
-      * @param mixed $post
71
+      * @param integer $post
67 72
       *
68
-      * @return mixed
73
+      * @return string
69 74
       */
70 75
      public function curl_post($url, $data, $header, $post = 1)
71 76
      {
@@ -161,11 +166,11 @@  discard block
 block discarded – undo
161 166
      * 语音验证码
162 167
      *
163 168
      * @param mixed $verifyCode     验证码内容,为数字和英文字母,不区分大小写,长度4-8位
164
-     * @param mixed $playTimes      播放次数,1-3次
169
+     * @param integer $playTimes      播放次数,1-3次
165 170
      * @param mixed $to             接收号码
166
-     * @param mixed $displayNum     显示的主叫号码
171
+     * @param string|null $displayNum     显示的主叫号码
167 172
      * @param mixed $respUrl        语音验证码状态通知回调地址,云通讯平台将向该Url地址发送呼叫结果通知
168
-     * @param mixed $lang           语言类型
173
+     * @param string $lang           语言类型
169 174
      * @param mixed $userData       第三方私有数据
170 175
      * @param mixed $welcomePrompt  欢迎提示音,在播放验证码语音前播放此内容(语音文件格式为wav)
171 176
      * @param mixed $playVerifyCode 语音验证码的内容全部播放此节点下的全部语音文件
Please login to merge, or discard this patch.
src/phpsms/Sms.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -687,7 +687,7 @@
 block discarded – undo
687 687
     /**
688 688
      * Serialize magic method.
689 689
      *
690
-     * @return array
690
+     * @return string[]
691 691
      */
692 692
     public function __sleep()
693 693
     {
Please login to merge, or discard this patch.
src/phpsms/PhpSmsServiceProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     /**
55 55
      * Get the services provided by the provider.
56 56
      *
57
-     * @return array
57
+     * @return string[]
58 58
      */
59 59
     public function provides()
60 60
     {
Please login to merge, or discard this patch.