This repository was archived by the owner on Oct 22, 2025. It is now read-only.
Commit cbc94b5
committed
Refactor
- Removed redundant `loadConfig` call in `getConfig` for efficiency.
- Updated `loadStatistics` to use `setMethod(HttpMethodsEnum::GET)` for clarity and standardization.
- Adjusted formatting of `toArray` and `toJson` methods for better readability.Unit class for cleaner code and improved HTTP request handling1 parent 2389b85 commit cbc94b5
1 file changed
+7
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
87 | | - | |
88 | | - | |
89 | 86 | | |
90 | 87 | | |
91 | 88 | | |
| |||
245 | 242 | | |
246 | 243 | | |
247 | 244 | | |
248 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
249 | 248 | | |
250 | 249 | | |
251 | 250 | | |
| |||
350 | 349 | | |
351 | 350 | | |
352 | 351 | | |
353 | | - | |
| 352 | + | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
| 380 | + | |
380 | 381 | | |
381 | 382 | | |
382 | 383 | | |
| |||
0 commit comments