Skip to content

Commit b5a5b15

Browse files
Merge pull request #36 from galdobins/develop
Change Recurring InstallSchema script to InstallData
2 parents 6925d3c + 20fbc94 commit b5a5b15

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Setup/Recurring.php renamed to Setup/RecurringData.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
use Firegento\ContentProvisioning\Model\BlockInstaller;
77
use Firegento\ContentProvisioning\Model\PageInstaller;
8-
use Magento\Framework\Setup\InstallSchemaInterface;
8+
use Magento\Framework\Setup\InstallDataInterface;
9+
use Magento\Framework\Setup\ModuleDataSetupInterface;
910
use Magento\Framework\Setup\ModuleContextInterface;
10-
use Magento\Framework\Setup\SchemaSetupInterface;
1111

1212
/**
1313
* Class Recurring
1414
*/
15-
class Recurring implements InstallSchemaInterface
15+
class RecurringData implements InstallDataInterface
1616
{
1717
/**
1818
* @var PageInstaller
@@ -39,7 +39,7 @@ public function __construct(
3939
/**
4040
* {@inheritdoc}
4141
*/
42-
public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
42+
public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
4343
{
4444
$this->pageInstaller->install();
4545
$this->blockInstaller->install();

0 commit comments

Comments
 (0)