Conditions | 3 |
Paths | 3 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function __construct(int $statusCode, string $message = '', Exception $previous = null, array $headers = [], $code = 0) |
||
20 | { |
||
21 | $this->headers = $headers; |
||
|
|||
22 | |||
23 | /** message */ |
||
24 | if(empty($message)) $message = isset(StatusCode::$status_code[$statusCode]) ? StatusCode::$status_code[$statusCode] :StatusCode::$status_code[StatusCode::COMMON_UNKNOWN]; |
||
25 | parent::__construct('ERROR_TINYMENG_TOOL: '.$message, $code, $previous); |
||
26 | } |
||
33 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..