Completed
Push — master ( f1a286...cbc962 )
by François-Xavier
03:25
created
src/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.
src/Aggregation/Filters.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
      *
26 26
      * If a name is given, it will be added as a key, otherwise considered as an anonymous filter
27 27
      *
28
+     * @param string $name
28 29
      * @return $this
29 30
      */
30 31
     public function addFilter(AbstractQuery $filter, ?string $name = null): self
Please login to merge, or discard this patch.
src/ClientConfiguration.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -164,7 +164,7 @@
 block discarded – undo
164 164
      * Add value to a key. If original value is not an array, value is wrapped.
165 165
      *
166 166
      * @param string $key   Key to add
167
-     * @param mixed  $value Value
167
+     * @param string  $value Value
168 168
      */
169 169
     public function add(string $key, $value): void
170 170
     {
Please login to merge, or discard this patch.
src/Query/BoolQuery.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * Add must not part to query.
42 42
      *
43
-     * @param AbstractQuery|array $args Must not query
43
+     * @param Ids $args Must not query
44 44
      *
45 45
      * @return $this
46 46
      */
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Sets the minimum number of should clauses to match.
95 95
      *
96
-     * @param int|string $minimum Minimum value
96
+     * @param integer $minimum Minimum value
97 97
      *
98 98
      * @return $this
99 99
      */
Please login to merge, or discard this patch.
src/Query/Fuzzy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     /**
45 45
      * Set optional parameters on the existing query.
46 46
      *
47
-     * @param mixed $value Value of the parameter
47
+     * @param double $value Value of the parameter
48 48
      *
49 49
      * @return $this
50 50
      */
Please login to merge, or discard this patch.
tests/Query/MoreLikeThisTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
         $mapping = new Mapping([
27 27
             'email' => ['store' => true, 'type' => 'text', 'index' => true],
28
-            'content' => ['store' => true, 'type' => 'text',  'index' => true],
28
+            'content' => ['store' => true, 'type' => 'text', 'index' => true],
29 29
         ]);
30 30
 
31 31
         $mapping->setSource(['enabled' => false]);
Please login to merge, or discard this patch.
tests/Query/FunctionScoreTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -561,7 +561,7 @@
 block discarded – undo
561 561
                             'field' => 'popularity',
562 562
                             'factor' => 1.2,
563 563
                             'modifier' => 'sqrt',
564
-                            'missing' => 0.1,    // available from >=1.6
564
+                            'missing' => 0.1, // available from >=1.6
565 565
                         ],
566 566
                     ],
567 567
                 ],
Please login to merge, or discard this patch.
tests/Aggregation/TermsTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
         $agg->setField('color');
73 73
         $agg->setOrders([
74 74
             ['_count' => 'asc'], // 1. red,   2. green, 3. blue
75
-            ['_key' => 'asc'],   // 1. green, 2. red,   3. blue
75
+            ['_key' => 'asc'], // 1. green, 2. red,   3. blue
76 76
         ]);
77 77
 
78 78
         $query = new Query();
Please login to merge, or discard this patch.
tests/MappingTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
                 'properties' => [
192 192
                     'titulo' => ['type' => 'text', 'copy_to' => 'testall', 'boost' => 1.0],
193 193
                     'contenido' => ['type' => 'text', 'copy_to' => 'testall', 'boost' => 1.0],
194
-                    'testall' => ['type' => 'text',  'boost' => 1.0],
194
+                    'testall' => ['type' => 'text', 'boost' => 1.0],
195 195
                 ],
196 196
             ],
197 197
         ]);
Please login to merge, or discard this patch.