| Total Complexity | 1 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait ManagesPerformance |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @param int $siteId |
||
| 11 | * @param string $start Short (2020-12-01) or long (2020-12-01 15:00:00) date format |
||
| 12 | * @param string $end Short (2020-12-01) or long (2020-12-01 15:00:00) date format |
||
| 13 | * @param string $timeframe Should be 1m or 1h |
||
| 14 | * |
||
| 15 | * @return array |
||
| 16 | */ |
||
| 17 | public function performanceRecords(int $siteId, string $start, string $end, string $timeframe = '1m'): array |
||
| 28 |