Completed
Push — master ( 462f98...6f4e70 )
by mingyoung
02:40
created
src/Kernel/AccessToken.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
     }
198 198
 
199 199
     /**
200
-     * @return mixed|string
200
+     * @return string
201 201
      *
202 202
      * @throws \EasyWeChat\Kernel\Exceptions\InvalidArgumentException
203 203
      */
Please login to merge, or discard this patch.
src/Kernel/BaseClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Kernel/ServerGuard.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
     /**
216 216
      * Whether response is message.
217 217
      *
218
-     * @param mixed $message
218
+     * @param Contracts\MessageInterface $message
219 219
      *
220 220
      * @return bool
221 221
      */
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
      *
261 261
      * @param string                                                     $to
262 262
      * @param string                                                     $from
263
-     * @param \EasyWeChat\Kernel\Contracts\MessageInterface|string|array $message
263
+     * @param Contracts\MessageInterface $message
264 264
      *
265 265
      * @return string
266 266
      */
Please login to merge, or discard this patch.
src/Kernel/Support/Arr.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -332,7 +332,7 @@
 block discarded – undo
332 332
      * Get a subset of the items from the given array.
333 333
      *
334 334
      * @param array        $array
335
-     * @param array|string $keys
335
+     * @param string[] $keys
336 336
      *
337 337
      * @return array
338 338
      */
Please login to merge, or discard this patch.
src/Kernel/Traits/HasHttpRequests.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -217,7 +217,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Kernel/Traits/Observable.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/OfficialAccount/Broadcasting/Client.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -258,7 +258,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.