@@ -42,7 +42,7 @@ protected function displayTxt(array $ratioList, OutputInterface $output, Symfony
4242 $ io ->writeln ('Ratio list ' );
4343
4444 foreach ($ ratioList as $ currencyCode => $ ratio ) {
45- $ io ->writeln ($ currencyCode. '; ' . (string ) $ ratio );
45+ $ io ->writeln ($ currencyCode . '; ' . (string ) $ ratio );
4646 }
4747
4848 return Command::SUCCESS ;
@@ -82,8 +82,8 @@ private function display(OutputInterface $output, SymfonyStyle $io): int
8282 $ ratioList = $ this ->pairManager ->getRatioList ();
8383
8484 return match ($ this ->format ) {
85- 'txt ' => $ this ->displayTxt ($ ratioList , $ output , $ io ),
86- 'json ' => $ this ->displayJson ($ ratioList , $ output ),
85+ 'txt ' => $ this ->displayTxt ($ ratioList , $ output , $ io ),
86+ 'json ' => $ this ->displayJson ($ ratioList , $ output ),
8787 'table ' => $ this ->displayTable ($ ratioList , $ output , $ io ),
8888 default => throw new InvalidArgumentException (sprintf ('Supported formats are "%s". ' , implode ('", " ' , $ this ->getAvailableFormatOptions ()))),
8989 };
@@ -107,7 +107,9 @@ public function complete(CompletionInput $input, CompletionSuggestions $suggesti
107107 }
108108 }
109109
110- /** @return list<string|Suggestion> $values */
110+ /**
111+ * @return list<string|Suggestion> $values
112+ */
111113 private function getAvailableFormatOptions (): array
112114 {
113115 return ['txt ' , 'json ' , 'table ' ];
0 commit comments