@@ -26,7 +26,7 @@ |
||
26 | 26 | $this->fields = $fields; |
27 | 27 | $this->conditions = []; |
28 | 28 | $this->parameters = []; |
29 | - $this->parser = new StringParser(); |
|
29 | + $this->parser = new StringParser(); |
|
30 | 30 | $this->joinFactory = $joinFactory; |
31 | 31 | } |
32 | 32 |
@@ -29,7 +29,7 @@ |
||
29 | 29 | $this->fields = $fields; |
30 | 30 | $this->conditions = ''; |
31 | 31 | $this->parameters = []; |
32 | - $this->parser = new StringParser(); |
|
32 | + $this->parser = new StringParser(); |
|
33 | 33 | } |
34 | 34 | |
35 | 35 | public function createFilter(array $orFilters) |
@@ -152,11 +152,11 @@ |
||
152 | 152 | $parameters = $andFilterFactory->getParameters(); |
153 | 153 | $innerJoins = $andFilterFactory->getInnerJoin(); |
154 | 154 | |
155 | - foreach($conditions as $condition) { |
|
155 | + foreach ($conditions as $condition) { |
|
156 | 156 | $this->qBuilder->andWhere($condition); |
157 | 157 | } |
158 | 158 | |
159 | - foreach($parameters as $parameter) { |
|
159 | + foreach ($parameters as $parameter) { |
|
160 | 160 | $this->qBuilder->setParameter($parameter['field'], $parameter['value']); |
161 | 161 | } |
162 | 162 |