@@ -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']) { |
@@ -429,7 +429,7 @@ discard block |
||
429 | 429 | |
430 | 430 | if (in_array($fieldName, $this->fields)) { |
431 | 431 | $direction = ($val === self::DIRECTION_AZ) ? self::DIRECTION_AZ : self::DIRECTION_ZA; |
432 | - $this->qBuilder->addOrderBy($this->entityAlias .'.'. $fieldName, $direction); |
|
432 | + $this->qBuilder->addOrderBy($this->entityAlias . '.' . $fieldName, $direction); |
|
433 | 433 | } |
434 | 434 | |
435 | 435 | if (strstr($sort, '_embedded.')) { |
@@ -440,7 +440,7 @@ discard block |
||
440 | 440 | $fieldName = $this->parser->camelize($embeddedFields[2]); |
441 | 441 | $direction = ($val === self::DIRECTION_AZ) ? self::DIRECTION_AZ : self::DIRECTION_ZA; |
442 | 442 | |
443 | - $this->qBuilder->addOrderBy($relationEntityAlias.'.'.$fieldName, $direction); |
|
443 | + $this->qBuilder->addOrderBy($relationEntityAlias . '.' . $fieldName, $direction); |
|
444 | 444 | } |
445 | 445 | |
446 | 446 | } |
@@ -515,7 +515,7 @@ discard block |
||
515 | 515 | return $this->pageLength; |
516 | 516 | } |
517 | 517 | |
518 | - public function setSelect( $select) : QueryBuilderFactory |
|
518 | + public function setSelect($select) : QueryBuilderFactory |
|
519 | 519 | { |
520 | 520 | $this->select = $select; |
521 | 521 |