Completed
Pull Request — master (#1666)
by Ema
02:15
created
lib/Elastica/Bulk/Action.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
     }
155 155
 
156 156
     /**
157
-     * @param string|int $routing
157
+     * @param string|boolean $routing
158 158
      *
159 159
      * @return $this
160 160
      */
Please login to merge, or discard this patch.
lib/Elastica/Client.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
      * Sets / overwrites a specific config value.
191 191
      *
192 192
      * @param string $key   Key to set
193
-     * @param mixed  $value Value
193
+     * @param string  $value Value
194 194
      *
195 195
      * @return $this
196 196
      */
@@ -200,8 +200,8 @@  discard block
 block discarded – undo
200 200
     }
201 201
 
202 202
     /**
203
-     * @param array|string $keys    config key or path of config keys
204
-     * @param mixed        $default default value will be returned if key was not found
203
+     * @param string[] $keys    config key or path of config keys
204
+     * @param boolean        $default default value will be returned if key was not found
205 205
      *
206 206
      * @return mixed
207 207
      */
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
      * @param int|string                                               $id      document id
354 354
      * @param array|\Elastica\Script\AbstractScript|\Elastica\Document $data    raw data for request body
355 355
      * @param string                                                   $index   index to update
356
-     * @param array                                                    $options array of query params to use for query. For possible options check es api
356
+     * @param string                                                    $options array of query params to use for query. For possible options check es api
357 357
      *
358 358
      * @return \Elastica\Response
359 359
      *
@@ -538,7 +538,7 @@  discard block
 block discarded – undo
538 538
      * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
539 539
      *
540 540
      * @param array                  $ids     Document ids
541
-     * @param string|\Elastica\Index $index   Index name
541
+     * @param Index $index   Index name
542 542
      * @param string|bool            $routing Optional routing key for all ids
543 543
      *
544 544
      * @throws \Elastica\Exception\InvalidException
Please login to merge, or discard this patch.