Conditions | 1 |
Paths | 1 |
Total Lines | 23 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 7 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
31 | public function handle(CurrencyService $currencyService): void |
||
32 | { |
||
33 | /** |
||
34 | * @var array|float |
||
35 | */ |
||
36 | $rates = $currencyService->rate( |
||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | $source = $this->argument('source'), |
||
|
|||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | $date = $this->argument('date'), |
||
45 | /** |
||
46 | * @var array |
||
47 | */ |
||
48 | $currencies = $this->argument('currencies') |
||
49 | ); |
||
50 | |||
51 | $this->output( |
||
52 | $date.' '.$source.' rates', |
||
53 | $this->prepareRows($currencies, $rates) |
||
54 | ); |
||
57 |