@@ -197,7 +197,7 @@ |
||
197 | 197 | } |
198 | 198 | |
199 | 199 | /** |
200 | - * @return mixed|string |
|
200 | + * @return string |
|
201 | 201 | * |
202 | 202 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException |
203 | 203 | */ |
@@ -156,7 +156,7 @@ |
||
156 | 156 | * @param array $options |
157 | 157 | * @param bool $returnRaw |
158 | 158 | * |
159 | - * @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string |
|
159 | + * @return \GuzzleHttp\Psr7\Response |
|
160 | 160 | */ |
161 | 161 | public function request(string $url, string $method = 'GET', array $options = [], $returnRaw = false) |
162 | 162 | { |
@@ -217,7 +217,7 @@ |
||
217 | 217 | * @param mixed $response |
218 | 218 | * @param string $type |
219 | 219 | * |
220 | - * @return array|\EasyWeChat\Kernel\Support\Collection|object|string |
|
220 | + * @return string |
|
221 | 221 | */ |
222 | 222 | protected function transformResponseToType($response, string $type) |
223 | 223 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param \Closure|EventHandlerInterface|string $handler |
35 | - * @param \Closure|EventHandlerInterface|string $condition |
|
35 | + * @param string $condition |
|
36 | 36 | * |
37 | 37 | * @throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException |
38 | 38 | */ |
@@ -258,7 +258,7 @@ |
||
258 | 258 | |
259 | 259 | /** |
260 | 260 | * @param \EasyWeChat\Kernel\Contracts\MessageInterface $message |
261 | - * @param null $to |
|
261 | + * @param string $to |
|
262 | 262 | * @param string $by |
263 | 263 | * |
264 | 264 | * @return mixed |