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