Commit 5c6d92f
Vítězslav Dvořák
Refactor ExchangeRate class for improved readability and consistency
- Updated class definition and method signatures to follow PSR standards.
- Changed constructor and method implementations to use braces on the same line.
- Improved type hinting and return types for methods.
- Simplified string manipulation and array handling in methods.
- Enhanced code clarity by adding spaces around operators and conditions.
- Minor adjustments in index.php for consistent spacing in conditional statements.1 parent 1a59977 commit 5c6d92f
4 files changed
Lines changed: 463 additions & 639 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
0 commit comments