Completed
Pull Request — master (#1069)
by Tim
03:39
created
lib/Elastica/Client.php 2 patches
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      * Sets / overwrites a specific config value.
183 183
      *
184 184
      * @param string $key   Key to set
185
-     * @param mixed  $value Value
185
+     * @param string  $value Value
186 186
      *
187 187
      * @return $this
188 188
      */
@@ -192,8 +192,8 @@  discard block
 block discarded – undo
192 192
     }
193 193
 
194 194
     /**
195
-     * @param array|string $keys    config key or path of config keys
196
-     * @param mixed        $default default value will be returned if key was not found
195
+     * @param string[] $keys    config key or path of config keys
196
+     * @param boolean        $default default value will be returned if key was not found
197 197
      *
198 198
      * @return mixed
199 199
      */
@@ -538,8 +538,8 @@  discard block
 block discarded – undo
538 538
      * @link 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
542
-     * @param string|\Elastica\Type  $type    Type of documents
541
+     * @param Index $index   Index name
542
+     * @param Type  $type    Type of documents
543 543
      * @param string|bool            $routing Optional routing key for all ids
544 544
      *
545 545
      * @throws \Elastica\Exception\InvalidException
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Elastica\Bulk\Action;
6 6
 use Elastica\Exception\ConnectionException;
7 7
 use Elastica\Exception\InvalidException;
8
-use Elastica\Exception\RuntimeException;
9 8
 use Elastica\Script\AbstractScript;
10 9
 use Psr\Log\LoggerInterface;
11 10
 
Please login to merge, or discard this patch.