@@ -66,11 +66,11 @@ |
||
66 | 66 | */ |
67 | 67 | public function getValue() |
68 | 68 | { |
69 | - $sql = '('.$this->query->toSql().')'; |
|
69 | + $sql = '(' . $this->query->toSql() . ')'; |
|
70 | 70 | |
71 | 71 | if ($this->alias) { |
72 | 72 | // check for "." in tableName replace with with "_" |
73 | - $sql .= ' as ' .$this->query->getGrammar()->wrapTable( |
|
73 | + $sql .= ' as ' . $this->query->getGrammar()->wrapTable( |
|
74 | 74 | str_replace('.', '_', $this->alias) |
75 | 75 | ); |
76 | 76 | } |