| Total Complexity | 3 | 
| Total Lines | 33 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 7 | class Error  | 
            ||
| 8 | { | 
            ||
| 9 | /** @var int */  | 
            ||
| 10 | private $code;  | 
            ||
| 11 | |||
| 12 | /** @var string */  | 
            ||
| 13 | private $message;  | 
            ||
| 14 | |||
| 15 | /**  | 
            ||
| 16 | * Error constructor.  | 
            ||
| 17 | * @param int $code  | 
            ||
| 18 | * @param string $message  | 
            ||
| 19 | */  | 
            ||
| 20 | 4 | public function __construct(int $code, string $message)  | 
            |
| 21 |     { | 
            ||
| 22 | 4 | $this->code = $code;  | 
            |
| 23 | 4 | $this->message = $message;  | 
            |
| 24 | 4 | }  | 
            |
| 25 | |||
| 26 | /**  | 
            ||
| 27 | * @return int  | 
            ||
| 28 | */  | 
            ||
| 29 | 2 | public function getCode(): int  | 
            |
| 32 | }  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @return string  | 
            ||
| 36 | */  | 
            ||
| 37 | 1 | public function getMessage(): string  | 
            |
| 44 | }  |