Completed
Pull Request — master (#274)
by Carlos
03:29
created
src/Core/Http.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      * @param string $url
55 55
      * @param array  $options
56 56
      *
57
-     * @return array|bool
57
+     * @return ResponseInterface
58 58
      *
59 59
      * @throws HttpException
60 60
      */
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * @param string       $url
70 70
      * @param array|string $options
71 71
      *
72
-     * @return array|bool
72
+     * @return ResponseInterface
73 73
      *
74 74
      * @throws HttpException
75 75
      */
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      * @param string|array $options
88 88
      * @param int          $encodeOption
89 89
      *
90
-     * @return array|bool
90
+     * @return ResponseInterface
91 91
      *
92 92
      * @throws HttpException
93 93
      */
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      * @param array  $files
106 106
      * @param array  $form
107 107
      *
108
-     * @return array|bool
108
+     * @return ResponseInterface
109 109
      *
110 110
      * @throws HttpException
111 111
      */
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
     /**
145 145
      * Return GuzzleHttp\Client instance.
146 146
      *
147
-     * @return \GuzzleHttp\Client.
147
+     * @return HttpClient
148 148
      */
149 149
     public function getClient()
150 150
     {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * @param string $method
187 187
      * @param array  $options
188 188
      *
189
-     * @return array|bool
189
+     * @return ResponseInterface
190 190
      *
191 191
      * @throws HttpException
192 192
      */
Please login to merge, or discard this patch.
src/Notice/Notice.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      * @param int $industryOne
78 78
      * @param int $industryTwo
79 79
      *
80
-     * @return bool
80
+     * @return \EasyWeChat\Support\Collection
81 81
      */
82 82
     public function setIndustry($industryOne, $industryTwo)
83 83
     {
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      *
95 95
      * @param string $shortId
96 96
      *
97
-     * @return string
97
+     * @return \EasyWeChat\Support\Collection
98 98
      */
99 99
     public function addTemplate($shortId)
100 100
     {
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      *
109 109
      * @param $data
110 110
      *
111
-     * @return mixed
111
+     * @return \EasyWeChat\Support\Collection
112 112
      *
113 113
      * @throws \EasyWeChat\Core\Exceptions\InvalidArgumentException
114 114
      */
Please login to merge, or discard this patch.
src/Staff/Staff.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * List all staffs.
41 41
      *
42
-     * @return array
42
+     * @return Collection
43 43
      */
44 44
     public function lists()
45 45
     {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     /**
50 50
      * List all online staffs.
51 51
      *
52
-     * @return array
52
+     * @return Collection
53 53
      */
54 54
     public function onlines()
55 55
     {
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      * @param string $nickname
64 64
      * @param string $password
65 65
      *
66
-     * @return bool
66
+     * @return Collection
67 67
      */
68 68
     public function create($email, $nickname, $password)
69 69
     {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * @param string $nickname
84 84
      * @param string $password
85 85
      *
86
-     * @return bool
86
+     * @return Collection
87 87
      */
88 88
     public function update($email, $nickname, $password)
89 89
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
      *
102 102
      * @param string $email
103 103
      *
104
-     * @return bool
104
+     * @return Collection
105 105
      */
106 106
     public function delete($email)
107 107
     {
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
      * @param string $email
127 127
      * @param string $path
128 128
      *
129
-     * @return bool
129
+     * @return Collection
130 130
      */
131 131
     public function avatar($email, $path)
132 132
     {
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
      *
155 155
      * @param string|array $message
156 156
      *
157
-     * @return mixed
157
+     * @return Collection
158 158
      */
159 159
     public function send($message)
160 160
     {
Please login to merge, or discard this patch.