Conditions | 3 |
Paths | 4 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | 9 | public function __construct($publicKey, $privateKey, $passphrase = null) |
|
19 | { |
||
20 | 9 | $this->publicKey = $publicKey instanceof PublicKey ? $publicKey : new PublicKey($publicKey); |
|
21 | 9 | $this->privateKey = $privateKey instanceof PrivateKey ? $privateKey : new PrivateKey($privateKey, $passphrase); |
|
22 | 9 | } |
|
23 | |||
40 |