Total Complexity | 2 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
19 | class ZvalU1 |
||
20 | { |
||
21 | /** @psalm-suppress PropertyNotSetInConstructor */ |
||
22 | public int $type_info; |
||
23 | /** @psalm-suppress PropertyNotSetInConstructor */ |
||
24 | public int $type; |
||
25 | /** @psalm-suppress PropertyNotSetInConstructor */ |
||
26 | public int $type_flags; |
||
27 | /** @psalm-suppress PropertyNotSetInConstructor */ |
||
28 | public int $extra; |
||
29 | |||
30 | /** @param zval_u1 $cdata */ |
||
31 | public function __construct( |
||
32 | private CData $cdata |
||
33 | ) { |
||
34 | unset($this->type_info); |
||
35 | unset($this->type); |
||
36 | unset($this->type_flags); |
||
37 | unset($this->extra); |
||
38 | } |
||
39 | |||
40 | public function __get(string $field_name): mixed |
||
47 | }; |
||
48 | } |
||
50 |