@@ -78,12 +78,12 @@ discard block |
||
78 | 78 | if ($this->isJoined()) { |
79 | 79 | $query->join( |
80 | 80 | $this->getMethod() == self::JOIN ? 'INNER' : 'LEFT', |
81 | - $this->pivotTable() . ' AS ' . $this->pivotAlias(), |
|
81 | + $this->pivotTable().' AS '.$this->pivotAlias(), |
|
82 | 82 | [$this->pivotKey(Record::THOUGHT_INNER_KEY) => $this->parentKey(Record::INNER_KEY)] |
83 | 83 | ); |
84 | 84 | } else { |
85 | 85 | $query->innerJoin( |
86 | - $this->pivotTable() . ' AS ' . $this->pivotAlias(), |
|
86 | + $this->pivotTable().' AS '.$this->pivotAlias(), |
|
87 | 87 | [$this->pivotKey(Record::THOUGHT_OUTER_KEY) => $this->localKey(Record::OUTER_KEY)] |
88 | 88 | )->where( |
89 | 89 | $this->pivotKey(Record::THOUGHT_INNER_KEY), |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | //Actual data is always INNER join |
120 | 120 | $query->join( |
121 | 121 | $this->getMethod() == self::JOIN ? 'INNER' : 'LEFT', |
122 | - $this->getTable() . ' AS ' . $this->getAlias(), |
|
122 | + $this->getTable().' AS '.$this->getAlias(), |
|
123 | 123 | [$this->localKey(Record::OUTER_KEY) => $this->pivotKey(Record::THOUGHT_OUTER_KEY)] |
124 | 124 | ); |
125 | 125 | } |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | |
158 | 158 | if ($minify) { |
159 | 159 | //Let's use column number instead of full name |
160 | - $column = 'p_c' . count($columns); |
|
160 | + $column = 'p_c'.count($columns); |
|
161 | 161 | } |
162 | 162 | |
163 | 163 | $columns[] = "{$alias}.{$name} AS {$prefix}{$column}"; |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | return $this->options['pivotAlias']; |
207 | 207 | } |
208 | 208 | |
209 | - return $this->getAlias() . '_pivot'; |
|
209 | + return $this->getAlias().'_pivot'; |
|
210 | 210 | } |
211 | 211 | |
212 | 212 | /** |
@@ -232,7 +232,7 @@ discard block |
||
232 | 232 | return null; |
233 | 233 | } |
234 | 234 | |
235 | - return $this->pivotAlias() . '.' . $this->schema[$key]; |
|
235 | + return $this->pivotAlias().'.'.$this->schema[$key]; |
|
236 | 236 | } |
237 | 237 | |
238 | 238 | /** |