Passed
Push — master ( 32651b...bc7554 )
by Maike
02:30
created
lib/support/Transaction.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
         if (!is_callable($closure)) {
39 39
             throw new \Exception("Transaction must have a callable as parameter.");
40 40
 
41
-        } else {
41
+        }else {
42 42
             $connection = $this->getConnection();
43 43
 
44 44
             try {
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
                 if ($this->results === false) {
50 50
                     $connection->rollbackTransaction();
51
-                } else {
51
+                }else {
52 52
                     $connection->commitTransaction();
53 53
                 }
54 54
 
Please login to merge, or discard this patch.