Completed
Push — master ( dbdc32...0d10e3 )
by Nicolas
02:23
created
lib/Elastica/Tool/CrossIndex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
             $types = is_array($types) ? $types : [$types];
132 132
 
133 133
             $types = array_map(
134
-                function ($type) {
134
+                function($type) {
135 135
                     if ($type instanceof Type) {
136 136
                         $type = $type->getName();
137 137
                     }
Please login to merge, or discard this patch.
lib/Elastica/Index.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
      *
208 208
      * @param array $args OPTIONAL Additional arguments
209 209
      *
210
-     * @return array Server response
210
+     * @return Response Server response
211 211
      *
212 212
      * @deprecated Replaced by forcemerge
213 213
      * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-optimize.html
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
      * @link https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html
257 257
      *
258 258
      * @param array      $args    OPTIONAL Arguments to use
259
-     * @param bool|array $options OPTIONAL
259
+     * @param boolean $options OPTIONAL
260 260
      *                            bool=> Deletes index first if already exists (default = false).
261 261
      *                            array => Associative array of options (option=>value)
262 262
      *
Please login to merge, or discard this patch.