Skip to content

Commit

Permalink
🩹 Use $composer in the Block construct stub (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombroucke authored Feb 27, 2024
1 parent 9dcd9c6 commit 24e7eac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Console/stubs/block.construct.stub
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -152,7 +152,7 @@ class DummyClass extends Block
],
];

parent::__construct($app);
parent::__construct($composer);
}

/**
Expand Down

0 comments on commit 24e7eac

Please sign in to comment.