@@ -38,7 +38,7 @@ discard block |
||
| 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 |
||
| 48 | 48 | |
| 49 | 49 | if ($this->results === false) { |
| 50 | 50 | $connection->rollbackTransaction(); |
| 51 | - } else { |
|
| 51 | + }else { |
|
| 52 | 52 | $connection->commitTransaction(); |
| 53 | 53 | } |
| 54 | 54 | |