Completed
Push — master ( 80e59a...607312 )
by François-Xavier
02:52
created
src/Client.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
      *
199 199
      * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
200 200
      *
201
-     * @param array|Document[] $docs Array of Elastica\Document
201
+     * @param Document[] $docs Array of Elastica\Document
202 202
      *
203 203
      * @throws InvalidException If docs is empty
204 204
      */
@@ -315,7 +315,7 @@  discard block
 block discarded – undo
315 315
     /**
316 316
      * Bulk deletes documents.
317 317
      *
318
-     * @param array|Document[] $docs
318
+     * @param Document[] $docs
319 319
      *
320 320
      * @throws InvalidException
321 321
      */
@@ -410,7 +410,7 @@  discard block
 block discarded – undo
410 410
     }
411 411
 
412 412
     /**
413
-     * @param array|Connection[] $connections
413
+     * @param Connection[] $connections
414 414
      *
415 415
      * @return $this
416 416
      */
Please login to merge, or discard this patch.
src/Search.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
      */
69 69
     private $builder;
70 70
 
71
+    /**
72
+     * @param BuilderInterface $builder
73
+     */
71 74
     public function __construct(Client $client, ?BuilderInterface $builder = null)
72 75
     {
73 76
         $this->_client = $client;
@@ -99,7 +102,7 @@  discard block
 block discarded – undo
99 102
     /**
100 103
      * Add array of indices at once.
101 104
      *
102
-     * @param Index[]|string[] $indices
105
+     * @param Index[] $indices
103 106
      */
104 107
     public function addIndices(array $indices = []): self
105 108
     {
Please login to merge, or discard this patch.
src/Query.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
      * NOTICE php will encode modified(or named keys) array into object format in json format request
213 213
      * so the fields array must a sequence(list) type of array.
214 214
      *
215
-     * @param array $fields Fields to be returned
215
+     * @param string[] $fields Fields to be returned
216 216
      *
217 217
      * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-stored-fields
218 218
      */
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
     /**
350 350
      * Sets the _source field to be returned with every hit.
351 351
      *
352
-     * @param array|bool $params Fields to be returned or false to disable source
352
+     * @param boolean $params Fields to be returned or false to disable source
353 353
      *
354 354
      * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-source-filtering
355 355
      */
Please login to merge, or discard this patch.
src/Aggregation/Traits/KeyedTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
      * Setting the keyed flag to true associates a unique string key
9 9
      * with each bucket and returns the result as a hash rather than an array.
10 10
      *
11
-     * @return $this
11
+     * @return \Elastica\Aggregation\AbstractAggregation
12 12
      */
13 13
     public function setKeyed(bool $keyed = true): self
14 14
     {
Please login to merge, or discard this patch.