Skip to content

Commit f95f336

Browse files
authored
Merge pull request #1160 from Menrath/patch-2
Fix moodle coding style in example for delegated transactions
2 parents 1d7554a + a6e29fa commit f95f336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/apis/core/dml/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ try {
636636
// Assuming the both inserts work, we get to the following line.
637637
$transaction->allow_commit();
638638

639-
} catch(Exception $e) {
639+
} catch (Exception $e) {
640640
$transaction->rollback($e);
641641
}
642642
```

0 commit comments

Comments
 (0)