diff options
Diffstat (limited to 'tests/lib/AppFramework/Db/TransactionalTest.php')
-rw-r--r-- | tests/lib/AppFramework/Db/TransactionalTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/AppFramework/Db/TransactionalTest.php b/tests/lib/AppFramework/Db/TransactionalTest.php index a60c4386fea..bf8abcd7aa2 100644 --- a/tests/lib/AppFramework/Db/TransactionalTest.php +++ b/tests/lib/AppFramework/Db/TransactionalTest.php @@ -35,7 +35,7 @@ class TransactionalTest extends TestCase { } public function fail(): void { - $this->atomic(function () { + $this->atomic(function (): void { throw new RuntimeException('nope'); }, $this->db); } |