Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| UsageReport | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | declare(strict_types=1); |
| 4 | /** |
| 5 | * SPDX-FileCopyrightText: 2026 LibreCode coop and contributors |
| 6 | * SPDX-License-Identifier: AGPL-3.0-or-later |
| 7 | */ |
| 8 | |
| 9 | namespace OCA\Libresign\Service\UsageStatistics\Model; |
| 10 | |
| 11 | final class UsageReport { |
| 12 | /** |
| 13 | * @param list<CollectedMetric> $metrics |
| 14 | */ |
| 15 | public function __construct( |
| 16 | public readonly string $application, |
| 17 | public readonly int $schemaVersion, |
| 18 | public readonly ReportPeriod $period, |
| 19 | public readonly array $metrics, |
| 20 | ) { |
| 21 | } |
| 22 | } |