@@ -54,7 +54,7 @@ |
||
| 54 | 54 | * @throws \Tebru\Gson\Exception\JsonSyntaxException If trying to read from non object/array |
| 55 | 55 | * @throws \Tebru\PhpType\Exception\MalformedTypeException If the type cannot be parsed |
| 56 | 56 | */ |
| 57 | - public function read(JsonReadable $reader): ?array |
|
| 57 | + public function read(JsonReadable $reader): ? array |
|
| 58 | 58 | { |
| 59 | 59 | if ($reader->peek() === JsonToken::NULL) { |
| 60 | 60 | return $reader->nextNull(); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param JsonReadable $reader |
| 25 | 25 | * @return string|null |
| 26 | 26 | */ |
| 27 | - public function read(JsonReadable $reader): ?string |
|
| 27 | + public function read(JsonReadable $reader): ? string |
|
| 28 | 28 | { |
| 29 | 29 | if ($reader->peek() === JsonToken::NULL) { |
| 30 | 30 | return $reader->nextNull(); |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * @return DateTime|null |
| 51 | 51 | * @throws \Tebru\Gson\Exception\JsonSyntaxException If the DateTime could not be created from format |
| 52 | 52 | */ |
| 53 | - public function read(JsonReadable $reader): ?DateTime |
|
| 53 | + public function read(JsonReadable $reader): ? DateTime |
|
| 54 | 54 | { |
| 55 | 55 | if ($reader->peek() === JsonToken::NULL) { |
| 56 | 56 | return $reader->nextNull(); |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | * @param JsonReadable $reader |
| 25 | 25 | * @return bool|null |
| 26 | 26 | */ |
| 27 | - public function read(JsonReadable $reader): ?bool |
|
| 27 | + public function read(JsonReadable $reader): ? bool |
|
| 28 | 28 | { |
| 29 | 29 | if ($reader->peek() === JsonToken::NULL) { |
| 30 | 30 | return $reader->nextNull(); |