Completed
Push — master ( 251e15...03b973 )
by Elf
01:21
created
src/HttpClient.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
     /**
208 208
      * Set the request options using "dot" notation.
209 209
      *
210
-     * @param  string|array  $key
210
+     * @param  string  $key
211 211
      * @param  mixed  $value
212 212
      * @return $this
213 213
      */
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
     /**
239 239
      * Remove one or many request options using "dot" notation.
240 240
      *
241
-     * @param  array|string  $keys
241
+     * @param  string  $keys
242 242
      * @return $this
243 243
      */
244 244
     public function removeOption($keys)
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
      * Set a request header.
253 253
      *
254 254
      * @param  string  $name
255
-     * @param  mixed  $value
255
+     * @param  string  $value
256 256
      * @return $this
257 257
      */
258 258
     public function header($name, $value)
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
     /**
329 329
      * Get data from the response.
330 330
      *
331
-     * @param  string|\Closure  $callback
331
+     * @param  string  $callback
332 332
      * @param  mixed  $parameters
333 333
      * @param  mixed  $default
334 334
      * @return mixed
@@ -455,7 +455,7 @@  discard block
 block discarded – undo
455 455
     /**
456 456
      * Get all allowed magic request methods.
457 457
      *
458
-     * @return array
458
+     * @return string[]
459 459
      */
460 460
     protected function getMagicRequestMethods()
461 461
     {
@@ -512,7 +512,7 @@  discard block
 block discarded – undo
512 512
     /**
513 513
      * Get all allowed magic response methods.
514 514
      *
515
-     * @return array
515
+     * @return string[]
516 516
      */
517 517
     protected function getMagicResponseMethods()
518 518
     {
Please login to merge, or discard this patch.