Completed
Pull Request — master (#77)
by Deven
158:34 queued 93:34
created
src/Statements/ReplaceStatement.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -93,15 +93,15 @@
 block discarded – undo
93 93
      */
94 94
     public function build()
95 95
     {
96
-        $ret = 'REPLACE ' . $this->options
97
-            . ' INTO ' . $this->into;
96
+        $ret = 'REPLACE '.$this->options
97
+            . ' INTO '.$this->into;
98 98
 
99 99
         if ($this->values != NULL && count($this->values) > 0) {
100
-            $ret .= ' VALUES ' . Array2d::build($this->values);
100
+            $ret .= ' VALUES '.Array2d::build($this->values);
101 101
         } elseif ($this->set != NULL && count($this->set) > 0) {
102
-            $ret .= ' SET ' . SetOperation::build($this->set);
102
+            $ret .= ' SET '.SetOperation::build($this->set);
103 103
         } elseif ($this->select != NULL && count($this->select) > 0) {
104
-            $ret .= ' ' . $this->select->build();
104
+            $ret .= ' '.$this->select->build();
105 105
         }
106 106
 
107 107
         return $ret;
Please login to merge, or discard this patch.