Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
29 | public function __construct( |
||
30 | string $title, |
||
31 | int $code, |
||
32 | string $message = null, |
||
33 | TypeDoc $dataDoc = null, |
||
34 | $identifier = null |
||
35 | ) { |
||
36 | $this->title = $title; |
||
37 | $this->code = $code; |
||
38 | $this->message = $message; |
||
39 | $this->dataDoc = $dataDoc; |
||
40 | $this->setIdentifier($identifier ?? $title.((string)$code)); |
||
41 | } |
||
114 |