Completed
Pull Request — master (#88)
by lan tian
02:44
created
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.
src/phpsms/agents/SmsbaoAgent.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
74 74
         $this->setResult($response);
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $result
79
+     */
77 80
     protected function setResult($result)
78 81
     {
79 82
         $msg = array_key_exists($result, $this->resultArr) ? $this->resultArr[$result] : '未知错误';
Please login to merge, or discard this patch.