| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class JsonDecodeException extends \InvalidArgumentException |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | private $json; |
||
| 25 | |||
| 26 | /** |
||
|
|
|||
| 27 | * JsonDecodeException constructor. |
||
| 28 | * @param string $message |
||
| 29 | * @param int $code |
||
| 30 | * @param Throwable|null $previous |
||
| 31 | * @param $json |
||
| 32 | */ |
||
| 33 | public function __construct($message = "", $code = 0, Throwable $previous = null, $json) |
||
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function getJson() |
||
| 47 |