Completed
Push — 5.1 ( e34688...c7eca6 )
by Jarek
05:38 queued 03:17
created
src/Subquery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,11 +66,11 @@
 block discarded – undo
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
         }
Please login to merge, or discard this patch.