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