| Total Complexity | 4 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | abstract class Command extends BaseCommand |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Renders console output. |
||
| 12 | * |
||
| 13 | * @param string $title |
||
| 14 | * @param array<mixed> $rows |
||
| 15 | */ |
||
| 16 | protected function output(string $title, array $rows): void |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Prepare table rows. |
||
| 31 | * |
||
| 32 | * @param array<string> $currencies |
||
| 33 | * @param array<float>|float $rates |
||
| 34 | * |
||
| 35 | * @return array<mixed> |
||
| 36 | */ |
||
| 37 | protected function prepareRows(array $currencies, $rates): array |
||
| 52 |