From f676e41eb8d9e633303778b98bfba6a9407ebf65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20B=C5=82oszyk?= Date: Tue, 5 May 2020 15:21:50 +0200 Subject: [PATCH] Drop unnesessary constructor --- src/Block/Service/AbstractAdminBlockService.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Block/Service/AbstractAdminBlockService.php b/src/Block/Service/AbstractAdminBlockService.php index a29184a6a..42a495bc1 100644 --- a/src/Block/Service/AbstractAdminBlockService.php +++ b/src/Block/Service/AbstractAdminBlockService.php @@ -17,7 +17,6 @@ use Sonata\BlockBundle\Meta\Metadata; use Sonata\BlockBundle\Model\BlockInterface; use Sonata\CoreBundle\Validator\ErrorElement; -use Symfony\Component\Templating\EngineInterface; @trigger_error( 'The '.__NAMESPACE__.'\AbstractAdminBlockService class is deprecated since sonata-project/block-bundle 3.16 '. @@ -32,14 +31,6 @@ */ abstract class AbstractAdminBlockService extends AbstractBlockService implements AdminBlockServiceInterface { - /** - * @param string $name - */ - public function __construct($name, EngineInterface $templating) - { - parent::__construct($name, $templating); - } - public function buildCreateForm(FormMapper $formMapper, BlockInterface $block) { $this->buildEditForm($formMapper, $block);