| Code Coverage
| Lines | Functions and Methods | Classes and Traits
Total | 100.00% covered (success) | 100.00% | 3 / 3 | 100.00% covered (success) | 100.00% | 1 / 1 | CRAP | 100.00% covered (success) | 100.00% | 1 / 1
MessageHeader | 100.00% covered (success) | 100.00% | 3 / 3 | 100.00% covered (success) | 100.00% | 1 / 1 | 1 | 100.00% covered (success) | 100.00% | 1 / 1
__construct | 100.00% covered (success) | 100.00% | 3 / 3 | 100.00% covered (success) | 100.00% | 1 / 1 | 1 |

1 | <?php
2 |
3 | namespace Attestto\SolanaPhpSdk\Util;
4 |
5 | class MessageHeader
6 | {
7 | public int $numRequiredSignature;
8 | public int $numReadonlySignedAccounts;
9 | public int $numReadonlyUnsignedAccounts;
10 |
11 | public function __construct(
12 | int $numRequiredSignature,
13 | int $numReadonlySignedAccounts,
14 | int $numReadonlyUnsignedAccounts
15 | )
16 | {
17 | $this->numRequiredSignature = $numRequiredSignature;
18 | $this->numReadonlySignedAccounts = $numReadonlySignedAccounts;
19 | $this->numReadonlyUnsignedAccounts = $numReadonlyUnsignedAccounts;
20 | }
21 | }