Passed
Pull Request — master (#41)
by Thomas
03:07
created
src/Dbal/Dbal.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -142,8 +142,8 @@  discard block
 block discarded – undo
142 142
         }
143 143
 
144 144
         $statement = 'UPDATE ' . $this->escapeIdentifier($entity::getTableName()) . ' ' .
145
-                     'SET ' . implode(',', $set) . ' ' .
146
-                     'WHERE ' . implode(' AND ', $where);
145
+                        'SET ' . implode(',', $set) . ' ' .
146
+                        'WHERE ' . implode(' AND ', $where);
147 147
         $this->entityManager->getConnection()->query($statement);
148 148
 
149 149
         return true;
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
         }
168 168
 
169 169
         $statement = 'DELETE FROM ' . $this->escapeIdentifier($entity::getTableName()) . ' ' .
170
-                     'WHERE ' . implode(' AND ', $where);
170
+                        'WHERE ' . implode(' AND ', $where);
171 171
         $this->entityManager->getConnection()->query($statement);
172 172
 
173 173
         return true;
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
         }, array_values($data));
257 257
 
258 258
         $statement = 'INSERT INTO ' . $this->escapeIdentifier($entity::getTableName()) . ' ' .
259
-                     '(' . implode(',', $cols) . ') VALUES (' . implode(',', $values) . ')';
259
+                        '(' . implode(',', $cols) . ') VALUES (' . implode(',', $values) . ')';
260 260
 
261 261
         return $statement;
262 262
     }
Please login to merge, or discard this patch.
src/Entity.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -575,7 +575,7 @@
 block discarded – undo
575 575
         if (!empty($attribute)) {
576 576
             $col = static::getColumnName($attribute);
577 577
             return (isset($this->data[$col]) ? $this->data[$col] : null) !==
578
-                   (isset($this->originalData[$col]) ? $this->originalData[$col] : null);
578
+                    (isset($this->originalData[$col]) ? $this->originalData[$col] : null);
579 579
         }
580 580
 
581 581
         ksort($this->data);
Please login to merge, or discard this patch.