Completed
Push — master ( 27ca6f...3e4305 )
by Dmitry
04:40
created
src/Connection.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
      * Performs HEAD HTTP request.
175 175
      * @param string $url   URL
176 176
      * @param array  $query query options
177
-     * @param bool $raw Do not try to decode data, event when response is decodeable (JSON). Defaults to `false`
177
+     * @param string $body
178 178
      * @throws HiArtException
179 179
      * @throws \yii\base\InvalidConfigException
180 180
      * @return mixed response
@@ -232,7 +232,6 @@  discard block
 block discarded – undo
232 232
     /**
233 233
      * XXX DEPRECATED in favour of post().
234 234
      * @param $url
235
-     * @param array $query
236 235
      * @return mixed
237 236
      */
238 237
     public function perform($url, $body = [])
@@ -246,6 +245,7 @@  discard block
 block discarded – undo
246 245
      * @param array  $query query options, (GET parameters)
247 246
      * @param string $body  request body, (POST parameters)
248 247
      * @param bool $raw Do not try to decode data, event when response is decodeable (JSON). Defaults to `false`
248
+     * @param string $method
249 249
      * @throws HiArtException
250 250
      * @throws \yii\base\InvalidConfigException
251 251
      * @return mixed response
@@ -259,9 +259,9 @@  discard block
 block discarded – undo
259 259
 
260 260
     /**
261 261
      * Creates URL.
262
-     * @param mixed $path path
262
+     * @param string $path path
263 263
      * @param array $query query options
264
-     * @return array
264
+     * @return string
265 265
      */
266 266
     private function prepareUrl($path, array $query = [])
267 267
     {
@@ -363,7 +363,7 @@  discard block
 block discarded – undo
363 363
 
364 364
     /**
365 365
      * Setter for errorChecker.
366
-     * @param Closure|array $value
366
+     * @param Closure $value
367 367
      * @return void
368 368
      */
369 369
     public function setErrorChecker($value)
Please login to merge, or discard this patch.