Completed
Push — master ( 69d932...08ade8 )
by Adrian
01:49
created
src/Action/Update.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,8 +47,8 @@
 block discarded – undo
47 47
         if (count($columns) > 0) {
48 48
             $updateSql = new \Sirius\Sql\Update($connection);
49 49
             $updateSql->table($this->mapper->getTable())
50
-                      ->columns($columns)
51
-                      ->where($this->mapper->getPrimaryKey(), $this->entity->getPk());
50
+                        ->columns($columns)
51
+                        ->where($this->mapper->getPrimaryKey(), $this->entity->getPk());
52 52
             $updateSql->perform();
53 53
         }
54 54
     }
Please login to merge, or discard this patch.
src/Action/Insert.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 
29 29
         $insertSql = new \Sirius\Sql\Insert($connection);
30 30
         $insertSql->into($this->mapper->getTable())
31
-                  ->columns($columns);
31
+                    ->columns($columns);
32 32
         $insertSql->perform();
33 33
         $this->entity->setPk($connection->lastInsertId());
34 34
     }
Please login to merge, or discard this patch.
src/Action/Delete.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
 
20 20
         $delete = new \Sirius\Sql\Delete($this->mapper->getWriteConnection());
21 21
         $delete->from($this->mapper->getTable())
22
-               ->where('id', $entityId);
22
+                ->where('id', $entityId);
23 23
         $delete->perform();
24 24
     }
25 25
 
Please login to merge, or discard this patch.
src/Action/SoftDelete.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@
 block discarded – undo
21 21
 
22 22
         $update = new \Sirius\Sql\Update($this->mapper->getWriteConnection());
23 23
         $update->table($this->mapper->getTable())
24
-               ->columns([
25
-                   $this->getOption('deleted_at_column') => $this->now
26
-               ])
27
-               ->where('id', $entityId);
24
+                ->columns([
25
+                    $this->getOption('deleted_at_column') => $this->now
26
+                ])
27
+                ->where('id', $entityId);
28 28
         $update->perform();
29 29
     }
30 30
 
Please login to merge, or discard this patch.
src/Action/AttachEntities.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
 
84 84
         $insert = new \Sirius\Sql\Insert($conn);
85 85
         $insert->into($throughTable)
86
-               ->columns($insertColumns)
87
-               ->perform();
86
+                ->columns($insertColumns)
87
+                ->perform();
88 88
     }
89 89
 }
Please login to merge, or discard this patch.
src/Relation/ManyToMany.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
             ->newQuery();
57 57
 
58 58
         $query = $this->joinWithThroughTable($query)
59
-                      ->where($this->options[RelationConfig::THROUGH_NATIVE_COLUMN], $nativePks);
59
+                        ->where($this->options[RelationConfig::THROUGH_NATIVE_COLUMN], $nativePks);
60 60
 
61 61
         if ($this->getOption(RelationConfig::QUERY_CALLBACK) &&
62 62
             is_callable($this->getOption(RelationConfig::QUERY_CALLBACK))) {
Please login to merge, or discard this patch.