Completed
Pull Request — master (#49)
by Thomas
44:38 queued 08:11
created
src/Dbal/Dbal.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -199,8 +199,8 @@  discard block
 block discarded – undo
199 199
         }
200 200
 
201 201
         $statement = 'UPDATE ' . $this->escapeIdentifier($entity::getTableName()) . ' ' .
202
-                     'SET ' . implode(',', $set) . ' ' .
203
-                     'WHERE ' . implode(' AND ', $where);
202
+                        'SET ' . implode(',', $set) . ' ' .
203
+                        'WHERE ' . implode(' AND ', $where);
204 204
         $this->entityManager->getConnection()->query($statement);
205 205
 
206 206
         return $this->entityManager->sync($entity, true);
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
         }
225 225
 
226 226
         $statement = 'DELETE FROM ' . $this->escapeIdentifier($entity::getTableName()) . ' ' .
227
-                     'WHERE ' . implode(' AND ', $where);
227
+                        'WHERE ' . implode(' AND ', $where);
228 228
         $this->entityManager->getConnection()->query($statement);
229 229
 
230 230
         return true;
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
         $cols = array_combine($cols, array_map([$this, 'escapeIdentifier'], $cols));
252 252
 
253 253
         $statement = 'INSERT INTO ' . $this->escapeIdentifier($entity::getTableName()) . ' ' .
254
-                     '(' . implode(',', $cols) . ') VALUES ';
254
+                        '(' . implode(',', $cols) . ') VALUES ';
255 255
 
256 256
         $statement .= implode(',', array_map(function ($values) use ($cols) {
257 257
             $result = [];
Please login to merge, or discard this patch.