Skip to content

Commit f654c81

Browse files
committed
fix: configure command
Signed-off-by: Vitor Mattos <[email protected]>
1 parent f8f0d2a commit f654c81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Command/Configure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
4848
$helper = new QuestionHelper();
4949
$choiceQuestion = new ChoiceQuestion('Please choose a provider:', array_keys($this->gateways));
5050
$selectedIndex = $helper->ask($input, $output, $choiceQuestion);
51-
$gateway = $this->gateways[array_keys($this->gateways)[$selectedIndex]];
51+
$gateway = $this->gateways[$selectedIndex];
5252
}
5353

5454
try {

0 commit comments

Comments
 (0)