@@ -48,9 +48,9 @@ |
||
| 48 | 48 | public function joinSubselect(Query $query, string $reference) |
| 49 | 49 | { |
| 50 | 50 | $subselect = $query->subSelectForJoinWith() |
| 51 | - ->columns($this->foreignMapper->getTable() . '.*') |
|
| 52 | - ->from($this->foreignMapper->getTable()) |
|
| 53 | - ->as($reference); |
|
| 51 | + ->columns($this->foreignMapper->getTable() . '.*') |
|
| 52 | + ->from($this->foreignMapper->getTable()) |
|
| 53 | + ->as($reference); |
|
| 54 | 54 | |
| 55 | 55 | $subselect = $this->applyQueryCallback($subselect); |
| 56 | 56 | |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | ->newQuery(); |
| 61 | 61 | |
| 62 | 62 | $query = $this->joinWithThroughTable($query) |
| 63 | - ->where($this->options[RelationConfig::THROUGH_NATIVE_COLUMN], $nativePks); |
|
| 63 | + ->where($this->options[RelationConfig::THROUGH_NATIVE_COLUMN], $nativePks); |
|
| 64 | 64 | |
| 65 | 65 | $query = $this->applyQueryCallback($query); |
| 66 | 66 | |
@@ -112,9 +112,9 @@ discard block |
||
| 112 | 112 | public function joinSubselect(Query $query, string $reference) |
| 113 | 113 | { |
| 114 | 114 | $subselect = $query->subSelectForJoinWith() |
| 115 | - ->from($this->foreignMapper->getTable()) |
|
| 116 | - ->columns($this->foreignMapper->getTable() . '.*') |
|
| 117 | - ->as($reference); |
|
| 115 | + ->from($this->foreignMapper->getTable()) |
|
| 116 | + ->columns($this->foreignMapper->getTable() . '.*') |
|
| 117 | + ->as($reference); |
|
| 118 | 118 | |
| 119 | 119 | $subselect = $this->joinWithThroughTable($subselect); |
| 120 | 120 | |