From 7a962671f227859e60a5a0bc5d9ace01fadfd572 Mon Sep 17 00:00:00 2001 From: Andrii Vasyliev Date: Thu, 25 Jul 2019 17:11:21 +0000 Subject: [PATCH] minor --- src/Plugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Plugin.php b/src/Plugin.php index 1abdcca..6608a26 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -109,9 +109,9 @@ public function onPostAutoloadDump(Event $event) $this->builder->buildAllConfigs($this->files); $save = $this->files; - foreach ($this->alternatives as $alt => $files) { + foreach ($this->alternatives as $name => $files) { $this->files = $save; - $builder = $this->builder->createAlternative($alt); + $builder = $this->builder->createAlternative($name); $this->addFiles($this->rootPackage, $files); $builder->buildAllConfigs($this->files); }