Completed
Push — master ( c0d232...67b20e )
by Olivier
43:39 queued 05:10
created
lib/Query.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 	 */
17 17
 	public function jsonSerialize()
18 18
 	{
19
-		return [ self::NAME => parent::jsonSerialize() ];
19
+		return [self::NAME => parent::jsonSerialize()];
20 20
 	}
21 21
 
22 22
 	public function to_array(): array
Please login to merge, or discard this patch.
lib/Query/Compound/BoostingQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,12 +47,12 @@
 block discarded – undo
47 47
 
48 48
 	public function jsonSerialize()
49 49
 	{
50
-		return [ self::NAME => array_filter([
50
+		return [self::NAME => array_filter([
51 51
 
52 52
 			'positive' => $this->positive,
53 53
 			'negative' => $this->negative,
54 54
 			'negative_boost' => $this->negative_boost,
55 55
 
56
-		]) ];
56
+		])];
57 57
 	}
58 58
 }
Please login to merge, or discard this patch.
lib/Query/Compound/BoolQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,13 +117,13 @@
 block discarded – undo
117 117
 	 */
118 118
 	public function jsonSerialize()
119 119
 	{
120
-		return [ static::NAME => array_filter([
120
+		return [static::NAME => array_filter([
121 121
 
122 122
 			MustQuery::NAME => $this->must->jsonSerialize(),
123 123
 			FilterQuery::NAME => $this->filter->jsonSerialize(),
124 124
 			ShouldQuery::NAME => $this->should->jsonSerialize(),
125 125
 			MustNotQuery::NAME => $this->must_not->jsonSerialize(),
126 126
 
127
-		]) + parent::jsonSerialize() ];
127
+		]) + parent::jsonSerialize()];
128 128
 	}
129 129
 }
Please login to merge, or discard this patch.
lib/Query/Compound/DisMaxQuery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,10 +55,10 @@
 block discarded – undo
55 55
 
56 56
 	public function jsonSerialize()
57 57
 	{
58
-		return [ self::NAME => parent::jsonSerialize() + [
58
+		return [self::NAME => parent::jsonSerialize() + [
59 59
 
60 60
 			'queries' => $this->queries,
61 61
 
62
-		] ];
62
+		]];
63 63
 	}
64 64
 }
Please login to merge, or discard this patch.