Completed
Pull Request — master (#70)
by
unknown
02:47
created
src/Search.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
 use ONGR\ElasticsearchDSL\Serializer\OrderedSerializer;
28 28
 use Symfony\Component\Serializer\Normalizer\CustomNormalizer;
29 29
 use ONGR\ElasticsearchDSL\SearchEndpoint\SuggestEndpoint;
30
-use ONGR\ElasticsearchDSL\Suggest\Suggest;
31 30
 
32 31
 /**
33 32
  * Search object that can be executed by a manager.
Please login to merge, or discard this patch.
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -381,12 +381,12 @@  discard block
 block discarded – undo
381 381
     }
382 382
 
383 383
     /**
384
-    * Adds suggest into search.
385
-    *
386
-    * @param BuilderInterface $suggest
387
-    *
388
-    * @return $this
389
-    */
384
+     * Adds suggest into search.
385
+     *
386
+     * @param BuilderInterface $suggest
387
+     *
388
+     * @return $this
389
+     */
390 390
     public function addSuggest(BuilderInterface $suggest)
391 391
     {
392 392
         $this->getEndpoint(SuggestEndpoint::NAME)->add($suggest, $suggest->getName());
@@ -395,10 +395,10 @@  discard block
 block discarded – undo
395 395
     }
396 396
 
397 397
     /**
398
-    * Returns all suggests.
399
-    *
400
-    * @return BuilderInterface[]
401
-    */
398
+     * Returns all suggests.
399
+     *
400
+     * @return BuilderInterface[]
401
+     */
402 402
     public function getSuggests()
403 403
     {
404 404
         return $this->getEndpoint(SuggestEndpoint::NAME)->getAll();
Please login to merge, or discard this patch.