Completed
Push — master ( f2cded...d94f9e )
by Keal
02:23
created
src/lib/Rest.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,9 +62,9 @@
 block discarded – undo
62 62
      * @param string $url
63 63
      * @param mixed $data
64 64
      * @param mixed $header
65
-     * @param mixed $post
65
+     * @param integer $post
66 66
      *
67
-     * @return mixed
67
+     * @return string
68 68
      */
69 69
     public function curl_post($url, $data, $header, $post = 1)
70 70
     {
Please login to merge, or discard this patch.
src/sms/Sms.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
         if($this->config=='YunTongXun'){
93 93
             $rest=new Rest(config('sms.agents.'.$this->config));
94 94
             return $rest->sendTemplateSMS($this->smsData['to'],$this->smsData['templateData'],$this->smsData['templates']['YunTongXun']);
95
-        }else{
95
+        } else{
96 96
             throw new \Exception('make sure you have choose a right agent');
97 97
         }
98 98
     }
Please login to merge, or discard this patch.