Completed
Push — master ( 1909c6...0d32a3 )
by Nicolas
02:28
created
lib/Elastica/Aggregation/Filter.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
  */
13 13
 class Filter extends AbstractAggregation
14 14
 {
15
+    /**
16
+     * @param AbstractQuery $filter
17
+     */
15 18
     public function __construct(string $name, ?AbstractQuery $filter = null)
16 19
     {
17 20
         parent::__construct($name);
Please login to merge, or discard this patch.
lib/Elastica/Client.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * Sets / overwrites a specific config value.
187 187
      *
188 188
      * @param string $key   Key to set
189
-     * @param mixed  $value Value
189
+     * @param string  $value Value
190 190
      *
191 191
      * @return $this
192 192
      */
@@ -196,8 +196,8 @@  discard block
 block discarded – undo
196 196
     }
197 197
 
198 198
     /**
199
-     * @param array|string $keys    config key or path of config keys
200
-     * @param mixed        $default default value will be returned if key was not found
199
+     * @param string[] $keys    config key or path of config keys
200
+     * @param boolean        $default default value will be returned if key was not found
201 201
      *
202 202
      * @return mixed
203 203
      */
@@ -285,7 +285,7 @@  discard block
 block discarded – undo
285 285
      *
286 286
      * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
287 287
      *
288
-     * @param array|\Elastica\Document[] $docs Array of Elastica\Document
288
+     * @param Document[] $docs Array of Elastica\Document
289 289
      *
290 290
      * @throws \Elastica\Exception\InvalidException If docs is empty
291 291
      */
Please login to merge, or discard this patch.
lib/Elastica/Search.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,6 +77,7 @@  discard block
 block discarded – undo
77 77
 
78 78
     /**
79 79
      * Constructs search object.
80
+     * @param BuilderInterface $builder
80 81
      */
81 82
     public function __construct(Client $client, ?BuilderInterface $builder = null)
82 83
     {
@@ -335,7 +336,7 @@  discard block
 block discarded – undo
335 336
     /**
336 337
      * Search in the set indices.
337 338
      *
338
-     * @param mixed     $query
339
+     * @param string     $query
339 340
      * @param int|array $options OPTIONAL Limit or associative array of options (option=>value)
340 341
      * @param string    $method  OPTIONAL Request method (use const's) (default = Request::POST)
341 342
      *
@@ -371,7 +372,7 @@  discard block
 block discarded – undo
371 372
     }
372 373
 
373 374
     /**
374
-     * @param mixed $query
375
+     * @param string $query
375 376
      * @param $fullResult (default = false) By default only the total hit count is returned. If set to true, the full ResultSet including aggregations is returned
376 377
      * @param string $method OPTIONAL Request method (use const's) (default = Request::POST)
377 378
      *
Please login to merge, or discard this patch.