Completed
Push — master ( c4fd35...06cc2b )
by Elf
01:24
created
src/HttpClient.php 1 patch
Doc Comments   +9 added lines, -8 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     /**
153 153
      * Remove one or many request options using "dot" notation.
154 154
      *
155
-     * @param  array|string  $keys
155
+     * @param  string  $keys
156 156
      * @return $this
157 157
      */
158 158
     public function removeOptions($keys)
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     /**
177 177
      * Set a request option using "dot" notation.
178 178
      *
179
-     * @param  string|array  $key
179
+     * @param  string  $key
180 180
      * @param  mixed  $value
181 181
      * @return $this
182 182
      */
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      * Set a request header.
196 196
      *
197 197
      * @param  string  $name
198
-     * @param  mixed  $value
198
+     * @param  string  $value
199 199
      * @return $this
200 200
      */
201 201
     public function header($name, $value)
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
     /**
261 261
      * Get data from the response.
262 262
      *
263
-     * @param  string|\Closure  $callback
263
+     * @param  string  $callback
264 264
      * @param  array  $parameters
265 265
      * @param  mixed  $default
266 266
      * @return mixed
@@ -386,7 +386,7 @@  discard block
 block discarded – undo
386 386
     /**
387 387
      * Get the dynamic request methods.
388 388
      *
389
-     * @return array
389
+     * @return string[]
390 390
      */
391 391
     protected function getDynamicRequestMethods()
392 392
     {
@@ -398,7 +398,7 @@  discard block
 block discarded – undo
398 398
     /**
399 399
      * Get the dynamic requestJson methods.
400 400
      *
401
-     * @return array
401
+     * @return string[]
402 402
      */
403 403
     protected function getDynamicRequestJsonMethods()
404 404
     {
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
     /**
411 411
      * Get the dynamic response methods.
412 412
      *
413
-     * @return array
413
+     * @return string[]
414 414
      */
415 415
     protected function getDynamicResponseMethods()
416 416
     {
@@ -424,7 +424,8 @@  discard block
 block discarded – undo
424 424
      * Insert HTTP method to the parameters.
425 425
      *
426 426
      * @param  array  $parameters
427
-     * @return array
427
+     * @param string $method
428
+     * @return string
428 429
      */
429 430
     protected function insertHttpMethodToParameters($method, array $parameters)
430 431
     {
Please login to merge, or discard this patch.