@@ -267,7 +267,6 @@ |
||
| 267 | 267 | /** |
| 268 | 268 | * Create relation specific select query. |
| 269 | 269 | * |
| 270 | - * @param array $references List of parent key values aggregates while parsing. |
|
| 271 | 270 | * |
| 272 | 271 | * @return SelectQuery |
| 273 | 272 | */ |
@@ -229,7 +229,7 @@ discard block |
||
| 229 | 229 | */ |
| 230 | 230 | protected function localKey($key): string |
| 231 | 231 | { |
| 232 | - return $this->getAlias() . '.' . $this->schema[$key]; |
|
| 232 | + return $this->getAlias().'.'.$this->schema[$key]; |
|
| 233 | 233 | } |
| 234 | 234 | |
| 235 | 235 | /** |
@@ -241,7 +241,7 @@ discard block |
||
| 241 | 241 | */ |
| 242 | 242 | protected function parentKey($key): string |
| 243 | 243 | { |
| 244 | - return $this->parent->getAlias() . '.' . $this->schema[$key]; |
|
| 244 | + return $this->parent->getAlias().'.'.$this->schema[$key]; |
|
| 245 | 245 | } |
| 246 | 246 | |
| 247 | 247 | /** |
@@ -255,10 +255,10 @@ discard block |
||
| 255 | 255 | if (empty($this->options['alias'])) { |
| 256 | 256 | if ($this->isLoaded() && $this->isJoined()) { |
| 257 | 257 | //Let's create unique alias, we are able to do that for relations just loaded |
| 258 | - $this->options['alias'] = 'd' . decoct(++self::$countLevels); |
|
| 258 | + $this->options['alias'] = 'd'.decoct(++self::$countLevels); |
|
| 259 | 259 | } else { |
| 260 | 260 | //Let's use parent alias to continue chain |
| 261 | - $this->options['alias'] = $parent->getAlias() . '_' . $this->relation; |
|
| 261 | + $this->options['alias'] = $parent->getAlias().'_'.$this->relation; |
|
| 262 | 262 | |
| 263 | 263 | } |
| 264 | 264 | } |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | |
| 38 | 38 | if ($minify) { |
| 39 | 39 | //Let's use column number instead of full name |
| 40 | - $column = 'c' . count($columns); |
|
| 40 | + $column = 'c'.count($columns); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | $columns[] = "{$alias}.{$name} AS {$prefix}{$column}"; |