Completed
Push — develop ( 0caa42...d7b1aa )
by Oyebanji Jacob
02:20
created
src/Model.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -137,7 +137,9 @@
 block discarded – undo
137 137
         $bindNameParameters = [];
138 138
         $sqlUpdate = "UPDATE " . $this->getTableName() . " SET " ;
139 139
         foreach ($this->properties as $columnName => $columnValue) {
140
-            if($columnName == 'id') continue;
140
+            if($columnName == 'id') {
141
+                continue;
142
+            }
141 143
             $bindColumnName = ':' . $columnName;
142 144
             $sqlUpdate .= "$columnName = $bindColumnName,";
143 145
             $bindNameParameters[$bindColumnName] = $columnValue;
Please login to merge, or discard this patch.