From a6e29fa6d183a26663c265b77623c2cec5e2a25e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Menrath?= <99024746+Menrath@users.noreply.github.com> Date: Wed, 16 Oct 2024 10:31:04 +0200 Subject: [PATCH] Fix moodle coding style in example for delegated transactions --- docs/apis/core/dml/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/apis/core/dml/index.md b/docs/apis/core/dml/index.md index 3a571dee54..87af8e6dba 100644 --- a/docs/apis/core/dml/index.md +++ b/docs/apis/core/dml/index.md @@ -636,7 +636,7 @@ try { // Assuming the both inserts work, we get to the following line. $transaction->allow_commit(); -} catch(Exception $e) { +} catch (Exception $e) { $transaction->rollback($e); } ```