Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | final class CursorState |
||
29 | { |
||
30 | /** |
||
31 | * @var array<int, mixed> |
||
32 | * |
||
33 | * @psalm-readonly |
||
34 | */ |
||
35 | private $state; |
||
36 | |||
37 | /** |
||
38 | * @internal |
||
39 | * |
||
40 | * @param array<int, mixed> $state |
||
41 | */ |
||
42 | 1980 | public function __construct(array $state) |
|
45 | 1980 | } |
|
46 | |||
47 | /** |
||
48 | * @internal |
||
49 | * |
||
50 | * @return array<int, mixed> |
||
51 | */ |
||
52 | 1809 | public function toArray(): array |
|
57 |