Completed
Pull Request — master (#155)
by
unknown
03:11
created
src/Aggregation/PercentilesAggregation.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
                 'size' => $this->getSize(),
132 132
                 'from' => $this->getFrom(),
133 133
             ],
134
-            function ($val) {
134
+            function($val) {
135 135
                 return (($val || is_array($val) || ($val || is_numeric($val))));
136 136
             }
137 137
         );
Please login to merge, or discard this patch.
src/Search.php 1 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.
src/InnerHit/NestedInnerHit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
         $out = [
101 101
             $this->getPathType() => [
102
-                $this->getPath() => $out ,
102
+                $this->getPath() => $out,
103 103
             ],
104 104
         ];
105 105
 
Please login to merge, or discard this patch.