| @@ -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 | */ | 
| @@ -150,7 +150,7 @@ | ||
| 150 | 150 | * @param array $options | 
| 151 | 151 | * @param bool $returnRaw | 
| 152 | 152 | * | 
| 153 | - * @return \Psr\Http\Message\ResponseInterface|\EasyWeChat\Kernel\Support\Collection|array|object|string | |
| 153 | + * @return ResponseInterface | |
| 154 | 154 | */ | 
| 155 | 155 | public function request(string $url, string $method = 'GET', array $options = [], $returnRaw = false) | 
| 156 | 156 |      { | 
| @@ -128,7 +128,7 @@ | ||
| 128 | 128 | * Override parent get() method. | 
| 129 | 129 | * | 
| 130 | 130 | * @param string $attribute | 
| 131 | - * @param mixed $default | |
| 131 | + * @param string $default | |
| 132 | 132 | * | 
| 133 | 133 | * @return mixed | 
| 134 | 134 | */ | 
| @@ -105,7 +105,7 @@ | ||
| 105 | 105 | * @param string $method | 
| 106 | 106 | * @param array $options | 
| 107 | 107 | * | 
| 108 | - * @return array|Support\Collection|object|ResponseInterface|string | |
| 108 | + * @return ResponseInterface | |
| 109 | 109 | */ | 
| 110 | 110 | protected function requestRaw($endpoint, array $params = [], $method = 'post', array $options = []) | 
| 111 | 111 |      { |