| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | public function __construct(Codepoint $codepoint, General $generalProperties) |
||
| 17 | { |
||
| 18 | if (!$this->isValidBlock($generalProperties->getBlock())) { |
||
| 19 | throw new InvalidArgumentException('Surrogate should reside within a surrogate block'); |
||
| 20 | } |
||
| 21 | |||
| 22 | parent::__construct($codepoint, $generalProperties); |
||
| 23 | } |
||
| 24 | |||
| 39 | } |