Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
10 | 1 | public function __construct(string $publicKeyFile, string $openSslError, ?Throwable $previous = null) |
|
11 | { |
||
12 | 1 | parent::__construct(sprintf( |
|
13 | 1 | 'Public key could not be loaded from file \'%s\'. Please make sure that the file contains valid public key in PEM format. (OpenSSL error: %s)', |
|
14 | $publicKeyFile, |
||
15 | $openSslError |
||
16 | ), $publicKeyFile, $previous); |
||
17 | 1 | } |
|
18 | |||
20 |