Log1x / acf-composer

Compose ACF Fields, Blocks, Widgets, and Option Pages with ACF Builder on Sage 10.
https://github.com/Log1x/acf-composer
MIT License
400 stars 53 forks source link

Block Dummyclass expects an AcfComposer object #202

Closed tombroucke closed 4 months ago

tombroucke commented 4 months ago

Fix for

App\Blocks\MyBlock::__construct(): Argument #1 ($app) must be of type Roots\Acorn\Application, Log1x\AcfComposer\AcfComposer given
Log1x commented 4 months ago

Ahh, I didn't think about the people using __construct() still. Might need to add something to acf:upgrade for this.