Completed
Pull Request — master (#1564)
by Oleksandr
01:46
created
lib/Elastica/Index.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -280,7 +280,7 @@
 block discarded – undo
280 280
      * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html
281 281
      *
282 282
      * @param array      $args    OPTIONAL Arguments to use
283
-     * @param bool|array $options OPTIONAL
283
+     * @param boolean $options OPTIONAL
284 284
      *                            bool=> Deletes index first if already exists (default = false).
285 285
      *                            array => Associative array of options (option=>value)
286 286
      *
Please login to merge, or discard this patch.
lib/Elastica/JSON.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,10 +15,10 @@  discard block
 block discarded – undo
15 15
      * @see http://php.net/manual/en/function.json-decode.php
16 16
      * @see http://php.net/manual/en/function.json-last-error.php
17 17
      *
18
-     * @param string $args,... JSON string to parse
19 18
      *
20 19
      * @throws JSONParseException
21 20
      *
21
+     * @param string $args
22 22
      * @return array PHP array representation of JSON string
23 23
      */
24 24
     public static function parse($args/* inherit from json_decode */)
@@ -49,7 +49,6 @@  discard block
 block discarded – undo
49 49
      * @see http://php.net/manual/en/function.json-encode.php
50 50
      * @see http://php.net/manual/en/function.json-last-error.php
51 51
      *
52
-     * @param mixed $args,... Target to stringify
53 52
      *
54 53
      * @throws JSONParseException
55 54
      *
Please login to merge, or discard this patch.