From 502f25e93a206ad3e5ac34f7ffa0dad43cd6fbe4 Mon Sep 17 00:00:00 2001 From: nevvermind Date: Fri, 15 May 2015 12:05:35 +0100 Subject: [PATCH] fix undefined index key error --- src/Inviqa/Patcher.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Inviqa/Patcher.php b/src/Inviqa/Patcher.php index d8c3e2a..e8f06fb 100644 --- a/src/Inviqa/Patcher.php +++ b/src/Inviqa/Patcher.php @@ -25,6 +25,7 @@ public function patch(\Composer\Script\Event $event) if (empty($extra['patches'])) { $this->output->writeln('No Magento patches were found'); + return; } // don't pass the patch information