From 3e1ced3affc2b863b90c4d790ebbcdb49887363d Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 25 Apr 2023 00:43:50 +0100 Subject: [PATCH] refactor: rename variable --- src/Command/GenerateCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/GenerateCommand.php b/src/Command/GenerateCommand.php index 6cfa487..c74c7d3 100644 --- a/src/Command/GenerateCommand.php +++ b/src/Command/GenerateCommand.php @@ -60,7 +60,7 @@ class GenerateCommand extends Command $configFile = $input->getOption(name: 'config-file'); $outputDir = $input->getOption(name: 'output-dir'); - $pipes = [ + $pipelines = [ new CreateFinalConfigurationData(), new ValidateConfigurationData(), @@ -80,7 +80,7 @@ class GenerateCommand extends Command */ [$configurationData, $generatedFiles] = (new Pipeline()) ->send($configFile) - ->through($pipes) + ->through($pipelines) ->thenReturn(); $io->info("Building configuration for {$configurationData['name']}.");