Completed
Pull Request — master (#1027)
by mingyoung
04:06
created
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/Kernel/BaseClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Kernel/Traits/HasAttributes.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Payment/Kernel/BaseClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.