Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | trait TCerts |
||
12 | { |
||
13 | /** @var string */ |
||
14 | protected $pubKey = ''; |
||
15 | /** @var string */ |
||
16 | protected $salt = ''; |
||
17 | |||
18 | 1 | public function updateCertInfo(?string $pubKey, ?string $salt): void |
|
19 | { |
||
20 | 1 | $this->pubKey = $pubKey ?? $this->pubKey; |
|
21 | 1 | $this->salt = $salt ?? $this->salt; |
|
22 | 1 | } |
|
23 | |||
24 | 1 | public function getPubKey(): string |
|
27 | } |
||
28 | |||
29 | 1 | public function getSalt(): string |
|
32 | } |
||
33 | } |
||
34 |