@@ -133,7 +133,7 @@ |
||
133 | 133 | $this->validate(); |
134 | 134 | $this->visitQueryParts(); |
135 | 135 | $selects = implode(', ', array_map( |
136 | - function (AbstractSelect $select): string { |
|
136 | + function(AbstractSelect $select): string { |
|
137 | 137 | return $select->asSOQL(); |
138 | 138 | }, |
139 | 139 | $this->selects |
@@ -36,9 +36,11 @@ |
||
36 | 36 | return $this; |
37 | 37 | } |
38 | 38 | |
39 | - public function else(Fields $fields): self |
|
39 | + public function else { |
|
40 | + (Fields $fields): self |
|
40 | 41 | { |
41 | 42 | $this->elseClause = new ElseClause($fields); |
43 | + } |
|
42 | 44 | |
43 | 45 | return $this; |
44 | 46 | } |