| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 2.0078 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 33 | 19 | public function __construct(EcAdapter $adapter, \GMP $r, \GMP $s, $recid, $compressed) |
|
| 34 | { |
||
| 35 | 19 | if (!is_bool($compressed)) { |
|
| 36 | throw new \InvalidArgumentException('CompactSignature: $compressed must be a boolean'); |
||
| 37 | } |
||
| 38 | |||
| 39 | 19 | $this->ecAdapter = $adapter; |
|
| 40 | 19 | $this->recid = $recid; |
|
| 41 | 19 | $this->compressed = $compressed; |
|
| 42 | 19 | parent::__construct($adapter, $r, $s); |
|
| 43 | 19 | } |
|
| 44 | |||
| 85 |