From bb1a7c4e29c3375002f5a5359ddccd052bf860c4 Mon Sep 17 00:00:00 2001 From: Davide Iadeluca Date: Mon, 7 Oct 2024 16:05:23 +0200 Subject: [PATCH] chore --- .../core/tests/integration/api/discussions/CreateTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/core/tests/integration/api/discussions/CreateTest.php b/framework/core/tests/integration/api/discussions/CreateTest.php index 3b176e29ec..c70729b0f4 100644 --- a/framework/core/tests/integration/api/discussions/CreateTest.php +++ b/framework/core/tests/integration/api/discussions/CreateTest.php @@ -76,7 +76,7 @@ public function cannot_create_discussion_without_content_property() { $this->extend( (new Extend\Formatter) - ->unparse(function ($content) { + ->unparse(function ($ctx, $content) { return $content; }), @@ -122,7 +122,7 @@ public function cannot_create_discussion_with_content_set_to_null() { $this->extend( (new Extend\Formatter) - ->unparse(function ($content) { + ->unparse(function ($ctx, $content) { return $content; }),