Lines
0.00%
0 / 1
Functions and Methods
0.00%
0 / 1
Classes and Traits
0.00%
0 / 1
| Name | Lines | Functions and Methods | CRAP | Classes and Traits | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Hello | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | 0.00% | 0 / 1 | |||
| __construct | 0.00% | 0 / 1 | 0.00% | 0 / 1 | 2 | |||||
| 1 | <?php | |
| 2 | ||
| 3 | declare(strict_types=1); | |
| 4 | ||
| 5 | namespace Stewart\Runtime\Control\Protocol\Frame; | |
| 6 | ||
| 7 | use SensitiveParameter; | |
| 8 | use Stewart\Runtime\Control\Protocol\ControlProtocol; | |
| 9 | ||
| 10 | final readonly class Hello implements ClientFrame | |
| 11 | { | |
| 12 | public function __construct( | |
| 13 | #[SensitiveParameter] | |
| 14 | public string $token, | |
| 15 | public string $client, | |
| 16 | public int $protocol = ControlProtocol::VERSION, | |
| 17 | ) {} | |
| 18 | } |