Completed
Push — master ( 3ae4a2...09b4e6 )
by Elf
01:59
created
src/HttpClient.php 1 patch
Doc Comments   +9 added lines, -8 removed lines patch added patch discarded remove patch
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
     /**
162 162
      * Remove request options using "dot" notation.
163 163
      *
164
-     * @param  string|array|null $key
164
+     * @param  string $key
165 165
      * @return $this
166 166
      */
167 167
     public function removeOptions($key = null)
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
     /**
190 190
      * Set a request option using "dot" notation.
191 191
      *
192
-     * @param  string|array  $key
192
+     * @param  string  $key
193 193
      * @param  mixed  $value
194 194
      * @return $this
195 195
      */
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
      * Set the request header.
209 209
      *
210 210
      * @param  string  $name
211
-     * @param  mixed  $value
211
+     * @param  string  $value
212 212
      * @return $this
213 213
      */
214 214
     public function header($name, $value)
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
     /**
274 274
      * Get data from the response.
275 275
      *
276
-     * @param  string|\Closure  $callback
276
+     * @param  string  $callback
277 277
      * @param  array  $parameters
278 278
      * @param  mixed  $default
279 279
      * @return mixed
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
     /**
398 398
      * Get the dynamic request methods.
399 399
      *
400
-     * @return array
400
+     * @return string[]
401 401
      */
402 402
     protected function getDynamicRequestMethods()
403 403
     {
@@ -409,7 +409,7 @@  discard block
 block discarded – undo
409 409
     /**
410 410
      * Get the dynamic requestJson methods.
411 411
      *
412
-     * @return array
412
+     * @return string[]
413 413
      */
414 414
     protected function getDynamicRequestJsonMethods()
415 415
     {
@@ -421,7 +421,7 @@  discard block
 block discarded – undo
421 421
     /**
422 422
      * Get the dynamic response methods.
423 423
      *
424
-     * @return array
424
+     * @return string[]
425 425
      */
426 426
     protected function getDynamicResponseMethods()
427 427
     {
@@ -435,7 +435,8 @@  discard block
 block discarded – undo
435 435
      * Insert HTTP method to the parameters.
436 436
      *
437 437
      * @param  array  $parameters
438
-     * @return array
438
+     * @param string $method
439
+     * @return string
439 440
      */
440 441
     protected function insertHttpMethodToParameters($method, array $parameters)
441 442
     {
Please login to merge, or discard this patch.