Completed
Pull Request — master (#1667)
by Jonathan
01:48
created
lib/Elastica/Search.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,6 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * Constructs search object.
73
+     * @param BuilderInterface $builder
73 74
      */
74 75
     public function __construct(Client $client, ?BuilderInterface $builder = null)
75 76
     {
@@ -282,7 +283,7 @@  discard block
 block discarded – undo
282 283
     /**
283 284
      * Search in the set indices.
284 285
      *
285
-     * @param string|array|Query $query
286
+     * @param string $query
286 287
      * @param int|array          $options Limit or associative array of options (option=>value)
287 288
      *
288 289
      * @throws InvalidException
@@ -310,7 +311,7 @@  discard block
 block discarded – undo
310 311
     }
311 312
 
312 313
     /**
313
-     * @param string|array|Query $query
314
+     * @param string $query
314 315
      * @param bool               $fullResult By default only the total hit count is returned. If set to true, the full ResultSet including aggregations is returned
315 316
      *
316 317
      * @return int|ResultSet
Please login to merge, or discard this patch.