From 3c5593210a5862ba1dd993a943bb17006c8057f8 Mon Sep 17 00:00:00 2001 From: Tom Broucke Date: Tue, 27 Feb 2024 15:43:15 +0100 Subject: [PATCH] Block Dummyclass expects an AcfComposer object --- src/Console/stubs/block.construct.stub | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Console/stubs/block.construct.stub b/src/Console/stubs/block.construct.stub index a33e80b5..e3bcaa6c 100644 --- a/src/Console/stubs/block.construct.stub +++ b/src/Console/stubs/block.construct.stub @@ -2,13 +2,13 @@ namespace DummyNamespace; +use Log1x\AcfComposer\AcfComposer; use Log1x\AcfComposer\Block; use Log1x\AcfComposer\Builder; -use Roots\Acorn\Application; class DummyClass extends Block { - public function __construct(Application $app) + public function __construct(AcfComposer $composer) { /** * The block name. @@ -152,7 +152,7 @@ class DummyClass extends Block ], ]; - parent::__construct($app); + parent::__construct($composer); } /**