Skip to content

Commit

Permalink
Fix issue 11 - Declare entityType property before using it
Browse files Browse the repository at this point in the history
  • Loading branch information
oviliz committed Nov 30, 2023
1 parent ce01b0e commit b19132d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Setup/InstallData.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\ModuleDataSetupInterface;


class InstallData implements InstallDataInterface
{
/**
Expand All @@ -15,10 +14,15 @@ class InstallData implements InstallDataInterface
private $eavSetupFactory;

/**
* @var \Magento\Eav\Setup\EavSetup $eavSetup
* @var \Magento\Eav\Setup\EavSetup
*/
private $eavSetup;

/**
* @var string
*/
private $entityType;

/**
* @param \Magento\Eav\Setup\EavSetupFactory $eavSetupFactory
*/
Expand Down

0 comments on commit b19132d

Please sign in to comment.