| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| 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 $rows |
||
| 15 | */ |
||
| 16 | protected function output(string $title, array $rows): void |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Prepare table rows. |
||
| 30 | * |
||
| 31 | * @param array $currencies |
||
| 32 | * @param array|float $rates |
||
| 33 | * |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | protected function prepareRows(array $currencies, $rates): array |
||
| 51 |