Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
7 / 7 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
TestData | |
100.00% |
7 / 7 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
__construct | |
100.00% |
7 / 7 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | /** @noinspection PhpUnhandledExceptionInspection */ |
3 | declare(strict_types=1); |
4 | |
5 | class TestData extends DataCollectionTypeSafe { |
6 | public readonly int $id; |
7 | public readonly string $bookletId; |
8 | public readonly string $label; |
9 | public readonly string $description; |
10 | public readonly bool $locked; |
11 | public readonly bool $running; |
12 | public readonly object $state; |
13 | |
14 | function __construct( |
15 | int $id, |
16 | string $bookletId, |
17 | string $label, |
18 | string $description, |
19 | bool $locked, |
20 | bool $running, |
21 | object $state, |
22 | ) { |
23 | $this->id = $id; |
24 | $this->bookletId = $bookletId; |
25 | $this->label = $label; |
26 | $this->description = $description; |
27 | $this->locked = $locked; |
28 | $this->running = $running; |
29 | $this->state = $state; |
30 | } |
31 | } |