| Total Complexity | 3 | 
| Total Lines | 35 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 7 | class JsonRpcInvalidRequestException extends JsonRpcException  | 
            ||
| 8 | { | 
            ||
| 9 | const CODE = -32600;  | 
            ||
| 10 | |||
| 11 | /** @var mixed */  | 
            ||
| 12 | private $content;  | 
            ||
| 13 | /** @var string */  | 
            ||
| 14 | private $description;  | 
            ||
| 15 | |||
| 16 | /**  | 
            ||
| 17 | * @param mixed $content  | 
            ||
| 18 | * @param string $description Optional description of the issue  | 
            ||
| 19 | */  | 
            ||
| 20 | 3 | public function __construct($content, string $description = '')  | 
            |
| 21 |     { | 
            ||
| 22 | 3 | $this->content = $content;  | 
            |
| 23 | 3 | $this->description = $description;  | 
            |
| 24 | |||
| 25 | 3 | parent::__construct(self::CODE, 'Invalid request');  | 
            |
| 26 | 3 | }  | 
            |
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * @return mixed  | 
            ||
| 30 | */  | 
            ||
| 31 | 1 | public function getContent()  | 
            |
| 34 | }  | 
            ||
| 35 | |||
| 36 | /**  | 
            ||
| 37 | * @return string  | 
            ||
| 38 | */  | 
            ||
| 39 | 1 | public function getDescription()  | 
            |
| 42 | }  | 
            ||
| 43 | }  | 
            ||
| 44 |