@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | { |
170 | 170 | $results = array_filter(explode(' ', $value), 'strlen'); |
171 | 171 | $results = array_map( |
172 | - function ($word) use ($searchCondition) { |
|
172 | + function($word) use ($searchCondition) { |
|
173 | 173 | if ($searchCondition === Query::OPERATOR_CONTAINS && filter_var($word, FILTER_VALIDATE_EMAIL)) { |
174 | 174 | $word = sprintf('"%s"', $word); |
175 | 175 | } |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | |
196 | 196 | $words = array_filter( |
197 | 197 | $words, |
198 | - function ($value) use ($length) { |
|
198 | + function($value) use ($length) { |
|
199 | 199 | if (filter_var($value, FILTER_VALIDATE_INT)) { |
200 | 200 | return true; |
201 | 201 | } |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | foreach (array_values($words) as $key => $value) { |
299 | 299 | $valueParameter = 'value' . $index . '_w' . $key; |
300 | 300 | QueryBuilderUtil::checkIdentifier($valueParameter); |
301 | - $result->add($qb->expr()->like($joinAlias. '.value', ':' . $valueParameter)); |
|
301 | + $result->add($qb->expr()->like($joinAlias . '.value', ':' . $valueParameter)); |
|
302 | 302 | $qb->setParameter($valueParameter, "%$value%"); |
303 | 303 | } |
304 | 304 | if ($this->isConcreteField($fieldName) && !$this->isAllDataField($fieldName)) { |