Completed
Push — master ( 709a47...95360a )
by Elf
07:56
created
src/HttpClient.php 1 patch
Doc Comments   +9 added lines, -8 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Set the request options using "dot" notation.
142 142
      *
143
-     * @param  string|array  $key
143
+     * @param  string  $key
144 144
      * @param  mixed  $value
145 145
      * @return $this
146 146
      */
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     /**
172 172
      * Remove one or many request options using "dot" notation.
173 173
      *
174
-     * @param  array|string  $keys
174
+     * @param  string  $keys
175 175
      * @return $this
176 176
      */
177 177
     public function removeOption($keys)
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
      * Set a request header.
186 186
      *
187 187
      * @param  string  $name
188
-     * @param  mixed  $value
188
+     * @param  string  $value
189 189
      * @return $this
190 190
      */
191 191
     public function header($name, $value)
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     /**
251 251
      * Get data from the response.
252 252
      *
253
-     * @param  string|\Closure  $callback
253
+     * @param  string  $callback
254 254
      * @param  array  $parameters
255 255
      * @param  mixed  $default
256 256
      * @return mixed
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
     /**
377 377
      * Get the dynamic request methods.
378 378
      *
379
-     * @return array
379
+     * @return string[]
380 380
      */
381 381
     protected function getDynamicRequestMethods()
382 382
     {
@@ -388,7 +388,7 @@  discard block
 block discarded – undo
388 388
     /**
389 389
      * Get the dynamic requestJson methods.
390 390
      *
391
-     * @return array
391
+     * @return string[]
392 392
      */
393 393
     protected function getDynamicRequestJsonMethods()
394 394
     {
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
     /**
401 401
      * Get the dynamic response methods.
402 402
      *
403
-     * @return array
403
+     * @return string[]
404 404
      */
405 405
     protected function getDynamicResponseMethods()
406 406
     {
@@ -414,7 +414,8 @@  discard block
 block discarded – undo
414 414
      * Insert HTTP method to the parameters.
415 415
      *
416 416
      * @param  array  $parameters
417
-     * @return array
417
+     * @param string $method
418
+     * @return string
418 419
      */
419 420
     protected function insertHttpMethodToParameters($method, array $parameters)
420 421
     {
Please login to merge, or discard this patch.