From 37a7a3b625d95bbe5bb829988588da1262ad0c4c Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 20 Aug 2021 11:35:26 +0200 Subject: [PATCH] fix SimplePage to handle new buildForm method sign --- src/Entity/Page/SimplePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Page/SimplePage.php b/src/Entity/Page/SimplePage.php index 1b4c5b5..97aaba0 100644 --- a/src/Entity/Page/SimplePage.php +++ b/src/Entity/Page/SimplePage.php @@ -16,7 +16,7 @@ use Symfony\Component\Form\FormBuilderInterface; */ class SimplePage extends Page { - public function buildForm(FormBuilderInterface $builder) + public function buildForm(FormBuilderInterface $builder, array $options) { $builder->add( 'title',