Skip to content

Commit

Permalink
Fix #14
Browse files Browse the repository at this point in the history
  • Loading branch information
magiccart authored Jul 18, 2023
1 parent 30e7c96 commit 516d974
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Setup/InstallData.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@

class InstallData implements InstallDataInterface
{

/**
* @var CategorySetupFactory
*/
private $categorySetupFactory;

public function __construct(CategorySetupFactory $categorySetupFactory)
{
$this->categorySetupFactory = $categorySetupFactory;
}

public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
{
$installer = $setup;
Expand All @@ -37,4 +44,5 @@ public function install(ModuleDataSetupInterface $setup, ModuleContextInterface
);
$installer->endSetup();
}
}

}

0 comments on commit 516d974

Please sign in to comment.