@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | ? $this->getAlias($relation) |
| 63 | 63 | : $this->getCachedAlias($relation); |
| 64 | 64 | |
| 65 | - if (! $exists) { |
|
| 65 | + if (!$exists) { |
|
| 66 | 66 | // Create join |
| 67 | 67 | $relationField = Field::new($relation['fieldName'])->toString($alias); |
| 68 | 68 | $this->join($builder, $join, $relationField, $relationAlias); |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | */ |
| 109 | 109 | private function getKey(array $relation): string |
| 110 | 110 | { |
| 111 | - return $relation['sourceEntity'] . '_' . $relation['targetEntity']; |
|
| 111 | + return $relation['sourceEntity'].'_'.$relation['targetEntity']; |
|
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | /** |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | { |
| 131 | 131 | $key = $this->getKey($relation); |
| 132 | 132 | |
| 133 | - if (! isset($this->relations[$key])) { |
|
| 133 | + if (!isset($this->relations[$key])) { |
|
| 134 | 134 | return $this->relations[$key] = |
| 135 | 135 | $this->query->createAlias( |
| 136 | 136 | $relation['sourceEntity'], |