From e839c41e40bf12c5ff01e533f02f1dcde001d358 Mon Sep 17 00:00:00 2001 From: Jeroen Thora Date: Fri, 1 Nov 2024 23:38:20 +0100 Subject: [PATCH] [FormBundle] Forward compatibility fix for symfony 7.2 in tests --- .../FormBundle/Tests/Form/AbstractFormPageAdminTypeTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Kunstmaan/FormBundle/Tests/Form/AbstractFormPageAdminTypeTest.php b/src/Kunstmaan/FormBundle/Tests/Form/AbstractFormPageAdminTypeTest.php index 477e4ba46b..f90e1c8da2 100644 --- a/src/Kunstmaan/FormBundle/Tests/Form/AbstractFormPageAdminTypeTest.php +++ b/src/Kunstmaan/FormBundle/Tests/Form/AbstractFormPageAdminTypeTest.php @@ -25,7 +25,7 @@ class FormPage extends AbstractFormPage { public function getPossibleChildTypes(): array { - return null; + return []; } public function getPagePartAdminConfigurations(): array @@ -83,7 +83,7 @@ public function testFormType() } } - protected function getExtensions() + protected function getExtensions(): array { $mediaTokenTransformer = $this->createMock(MediaTokenTransformer::class); $mediaTokenTransformer->expects($this->once())