From 4ceb20f4fea4a2e1aea5971181d37ae3bf5d49ba Mon Sep 17 00:00:00 2001 From: Tkdigitalltd <30655550+Tkdigitalltd@users.noreply.github.com> Date: Thu, 10 Aug 2017 11:23:17 +0300 Subject: [PATCH] Update InstallData.php --- Setup/InstallData.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Setup/InstallData.php b/Setup/InstallData.php index 4ffb46b..6e38b68 100644 --- a/Setup/InstallData.php +++ b/Setup/InstallData.php @@ -30,8 +30,11 @@ class InstallData implements InstallDataInterface * @param StoreManagerInterface $storeManager */ - public function __construct(ConfigBasedIntegrationManager $integrationManager, File $io, StoreManagerInterface $storeManager) - { + public function __construct( + ConfigBasedIntegrationManager $integrationManager, + File $io, + StoreManagerInterface $storeManager + ) { $this->integrationManager = $integrationManager; $this->io = $io; $this->storeManager = $storeManager; @@ -41,7 +44,7 @@ public function __construct(ConfigBasedIntegrationManager $integrationManager, F * {@inheritdoc} */ - public function install(ModuleDataSetupInterface $setup, ModuleContextInterface $context) + public function install() { $this->integrationManager->processIntegrationConfig(['Tkdigital_Buzzsubs']); @@ -76,7 +79,8 @@ private function strSlug($title, $separator = '-') */ public function getContent($scriptName) { - $content = ' + $content = '