From 20fbc94e37ed92d4dd999886241849a77781f638 Mon Sep 17 00:00:00 2001
From: Sabina Galdobin <galdobins@00026-mbp.fritz.box>
Date: Tue, 3 Nov 2020 16:36:09 +0100
Subject: [PATCH] Change Recurring InstallSchema script to InstallData to
 support data patch dependencies

---
 Setup/{Recurring.php => RecurringData.php} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename Setup/{Recurring.php => RecurringData.php} (77%)

diff --git a/Setup/Recurring.php b/Setup/RecurringData.php
similarity index 77%
rename from Setup/Recurring.php
rename to Setup/RecurringData.php
index 6462f64..be6055c 100644
--- a/Setup/Recurring.php
+++ b/Setup/RecurringData.php
@@ -5,14 +5,14 @@ namespace Firegento\ContentProvisioning\Setup;
 
 use Firegento\ContentProvisioning\Model\BlockInstaller;
 use Firegento\ContentProvisioning\Model\PageInstaller;
-use Magento\Framework\Setup\InstallSchemaInterface;
+use Magento\Framework\Setup\InstallDataInterface;
+use Magento\Framework\Setup\ModuleDataSetupInterface;
 use Magento\Framework\Setup\ModuleContextInterface;
-use Magento\Framework\Setup\SchemaSetupInterface;
 
 /**
  * Class Recurring
  */
-class Recurring implements InstallSchemaInterface
+class RecurringData implements InstallDataInterface
 {
     /**
      * @var PageInstaller
@@ -39,7 +39,7 @@ class Recurring implements InstallSchemaInterface
     /**
      * {@inheritdoc}
      */
-    public function install(SchemaSetupInterface $setup, ModuleContextInterface $context)
+    public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context)
     {
         $this->pageInstaller->install();
         $this->blockInstaller->install();
-- 
GitLab