| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 14 | public function __construct($frame_type, $length) |
|
| 21 | { |
||
| 22 | 14 | $this->frame_type = $frame_type; |
|
| 23 | 14 | $this->length = $length; |
|
| 24 | |||
| 25 | 14 | parent::__construct( |
|
| 26 | sprintf( |
||
| 27 | 14 | "UnknownFrameError: Unknown frame type 0x%X received, length %d bytes", |
|
| 28 | $frame_type, |
||
| 29 | $length |
||
| 30 | ) |
||
| 31 | ); |
||
| 32 | 14 | } |
|
| 33 | |||
| 50 |