| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class NullTypeAdapter extends TypeAdapter |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * Read the next value, convert it to its type and return it |
||
| 24 | * |
||
| 25 | * @param JsonReadable $reader |
||
| 26 | * @return void|null |
||
| 27 | */ |
||
| 28 | 1 | public function read(JsonReadable $reader): void |
|
| 31 | 1 | } |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Write the value to the writer for the type |
||
| 35 | * |
||
| 36 | * @param JsonWritable $writer |
||
| 37 | * @param mixed $value |
||
| 38 | * @return void |
||
| 39 | */ |
||
| 40 | 1 | public function write(JsonWritable $writer, $value): void |
|
| 45 |