@@ -47,12 +47,12 @@ discard block |
||
47 | 47 | if ($this->isJoined()) { |
48 | 48 | $query->join( |
49 | 49 | $this->getMethod() == self::LEFT_JOIN ? 'LEFT' : 'INNER', |
50 | - $this->pivotTable() . ' AS ' . $this->pivotAlias(), |
|
50 | + $this->pivotTable().' AS '.$this->pivotAlias(), |
|
51 | 51 | [$this->pivotKey(Record::THOUGHT_INNER_KEY) => $this->parentKey(Record::INNER_KEY)] |
52 | 52 | ); |
53 | 53 | } else { |
54 | 54 | $query->innerJoin( |
55 | - $this->pivotTable() . ' AS ' . $this->pivotAlias(), |
|
55 | + $this->pivotTable().' AS '.$this->pivotAlias(), |
|
56 | 56 | [$this->pivotKey(Record::THOUGHT_OUTER_KEY) => $this->localKey(Record::OUTER_KEY)] |
57 | 57 | )->where( |
58 | 58 | $this->pivotKey(Record::THOUGHT_INNER_KEY), |
@@ -72,7 +72,7 @@ discard block |
||
72 | 72 | if ($this->isJoined()) { |
73 | 73 | $query->join( |
74 | 74 | $this->getMethod() == self::LEFT_JOIN ? 'LEFT' : 'INNER', |
75 | - $this->getTable() . ' AS ' . $this->getAlias(), |
|
75 | + $this->getTable().' AS '.$this->getAlias(), |
|
76 | 76 | [$this->localKey(Record::OUTER_KEY) => $this->pivotKey(Record::THOUGHT_OUTER_KEY)] |
77 | 77 | ); |
78 | 78 | } |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | if ($minify) { |
112 | 112 | //Let's use column number instead of full name |
113 | - $column = 'p_c' . count($columns); |
|
113 | + $column = 'p_c'.count($columns); |
|
114 | 114 | } |
115 | 115 | |
116 | 116 | $columns[] = "{$alias}.{$name} AS {$prefix}{$column}"; |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | return $this->options['pivotAlias']; |
160 | 160 | } |
161 | 161 | |
162 | - return $this->getAlias() . '_pivot'; |
|
162 | + return $this->getAlias().'_pivot'; |
|
163 | 163 | } |
164 | 164 | |
165 | 165 | /** |
@@ -185,6 +185,6 @@ discard block |
||
185 | 185 | return null; |
186 | 186 | } |
187 | 187 | |
188 | - return $this->pivotAlias() . '.' . $this->schema[$key]; |
|
188 | + return $this->pivotAlias().'.'.$this->schema[$key]; |
|
189 | 189 | } |
190 | 190 | } |
191 | 191 | \ No newline at end of file |