@@ -27,7 +27,7 @@ |
||
27 | 27 | $this->router = $router; |
28 | 28 | } |
29 | 29 | |
30 | - public function paginateResults ( |
|
30 | + public function paginateResults( |
|
31 | 31 | QueryBuilderOptions $queryOptions, |
32 | 32 | DoctrineORMAdapter $ormAdapter, |
33 | 33 | PagerfantaBuilder $pagerfantaBuilder, |
@@ -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 |
@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | $this->conditions = ''; |
32 | 32 | $this->parameters = []; |
33 | - $this->parser = new StringParser(); |
|
33 | + $this->parser = new StringParser(); |
|
34 | 34 | } |
35 | 35 | |
36 | 36 | public function createFilter(array $orFilters) |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | |
29 | 29 | $this->conditions = []; |
30 | 30 | $this->parameters = []; |
31 | - $this->parser = new StringParser(); |
|
31 | + $this->parser = new StringParser(); |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | public function createFilter(array $andFilters) |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | . $filterObject->getOperatorMeta(); |
115 | 115 | |
116 | 116 | if ($filterObject->isListContainsType()) { |
117 | - $fieldName = $this->relationEntityAlias . '.' . $embeddedFieldName; |
|
117 | + $fieldName = $this->relationEntityAlias . '.' . $embeddedFieldName; |
|
118 | 118 | $whereCondition = $this->createWhereConditionForListContains($value, $fieldName, $embeddedFieldName, $salt); |
119 | 119 | } elseif ($filterObject->isListType()) { |
120 | 120 | $whereCondition .= ' (:field_' . $embeddedFieldName . $salt . ')'; |
@@ -170,7 +170,7 @@ discard block |
||
170 | 170 | if ($whereCondition == '') { |
171 | 171 | $whereCondition = ' ('; |
172 | 172 | } else { |
173 | - $whereCondition .= ' OR '; |
|
173 | + $whereCondition .= ' OR '; |
|
174 | 174 | } |
175 | 175 | |
176 | 176 | $whereCondition .= $fieldName . |