@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | |
117 | 117 | $needle = $prevEntityAlias . '_' . $currentEntityAlias; |
118 | 118 | |
119 | - return ! in_array($needle, $this->joins); |
|
119 | + return !in_array($needle, $this->joins); |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | private function storeJoin($prevEntityAlias, $currentEntityAlias) |
@@ -275,7 +275,7 @@ discard block |
||
275 | 275 | $relationEntityAlias = $this->getRelationEntityAlias(); |
276 | 276 | |
277 | 277 | $embeddedFields = explode('.', $filterObject->getFieldName()); |
278 | - $embeddedFieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]); |
|
278 | + $embeddedFieldName = $this->parser->camelize($embeddedFields[count($embeddedFields) - 1]); |
|
279 | 279 | |
280 | 280 | $salt = '_' . random_int(111, 999); |
281 | 281 | |
@@ -368,7 +368,7 @@ discard block |
||
368 | 368 | $relationEntityAlias = $this->getRelationEntityAlias(); |
369 | 369 | |
370 | 370 | $embeddedFields = explode('.', $filterObject->getFieldName()); |
371 | - $embeddableFieldName = $this->parser->camelize($embeddedFields[count($embeddedFields)-1]); |
|
371 | + $embeddableFieldName = $this->parser->camelize($embeddedFields[count($embeddedFields) - 1]); |
|
372 | 372 | |
373 | 373 | $salt = '_' . random_int(111, 999); |
374 | 374 | |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | if (isset($filterAndOperator[1]) && $op->isListOrNlist()) { |
379 | 379 | $whereCondition .= ' (:field_' . $embeddableFieldName . $salt . ')'; |
380 | 380 | } else { |
381 | - $whereCondition .=' :field_' . $embeddableFieldName . $salt; |
|
381 | + $whereCondition .= ' :field_' . $embeddableFieldName . $salt; |
|
382 | 382 | } |
383 | 383 | |
384 | 384 | if (null != $orCondition['orCondition']) { |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | if (in_array($fieldName, $this->fields)) { |
431 | 431 | $direction = ($val === self::DIRECTION_AZ) ? self::DIRECTION_AZ : self::DIRECTION_ZA; |
432 | 432 | $this->ensureQueryBuilderIsDefined(); |
433 | - $this->qBuilder->addOrderBy($this->entityAlias .'.'. $fieldName, $direction); |
|
433 | + $this->qBuilder->addOrderBy($this->entityAlias . '.' . $fieldName, $direction); |
|
434 | 434 | } |
435 | 435 | |
436 | 436 | if (strstr($sort, '_embedded.')) { |
@@ -441,7 +441,7 @@ discard block |
||
441 | 441 | $fieldName = $this->parser->camelize($embeddedFields[2]); |
442 | 442 | $direction = ($val === self::DIRECTION_AZ) ? self::DIRECTION_AZ : self::DIRECTION_ZA; |
443 | 443 | |
444 | - $this->qBuilder->addOrderBy($relationEntityAlias.'.'.$fieldName, $direction); |
|
444 | + $this->qBuilder->addOrderBy($relationEntityAlias . '.' . $fieldName, $direction); |
|
445 | 445 | } |
446 | 446 | |
447 | 447 | } |
@@ -516,7 +516,7 @@ discard block |
||
516 | 516 | return $this->pageLength; |
517 | 517 | } |
518 | 518 | |
519 | - public function setSelect( $select) : QueryBuilderFactory |
|
519 | + public function setSelect($select) : QueryBuilderFactory |
|
520 | 520 | { |
521 | 521 | $this->select = $select; |
522 | 522 |