| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 15 | 6 | public function __construct(array $event) |
|
| 16 | { |
||
| 17 | 6 | parent::__construct( |
|
| 18 | 6 | (int) $event['id'], |
|
| 19 | 6 | new Type(6), |
|
| 20 | 6 | new Information($this->buildUrl($event), $this->buildPayload($event), $this->buildMessage($event)), |
|
| 21 | 6 | new Ring(3000, 80), |
|
| 22 | 6 | $this->buildSound($event) |
|
| 23 | ); |
||
| 24 | } |
||
| 25 | |||
| 54 |