@@ -42,7 +42,7 @@ |
||
42 | 42 | $this->results = $closure($connection); |
43 | 43 | if ($this->results === false) { |
44 | 44 | $connection->rollbackTransaction(); |
45 | - } else { |
|
45 | + }else { |
|
46 | 46 | $connection->commitTransaction(); |
47 | 47 | } |
48 | 48 | } catch (\Exception $e) { |