@@ -599,7 +599,7 @@ |
||
| 599 | 599 | * Optionally pass in an array by reference to get the list |
| 600 | 600 | * of characters read |
| 601 | 601 | * |
| 602 | - * @param array $characters |
|
| 602 | + * @param string[] $characters |
|
| 603 | 603 | * @param array $buffer |
| 604 | 604 | * @return string |
| 605 | 605 | * @throws \RuntimeException If there's an error reading the stream |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | * Factory constructor that handles nulls |
| 37 | 37 | * |
| 38 | 38 | * @param mixed $value |
| 39 | - * @return JsonNull|JsonPrimitive |
|
| 39 | + * @return JsonElement |
|
| 40 | 40 | */ |
| 41 | 41 | public static function create($value) |
| 42 | 42 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | /** |
| 64 | 64 | * Array of Property objects |
| 65 | 65 | * |
| 66 | - * @return array |
|
| 66 | + * @return Property[] |
|
| 67 | 67 | */ |
| 68 | 68 | public function toArray() |
| 69 | 69 | { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * Read the next value, convert it to its type and return it |
| 23 | 23 | * |
| 24 | 24 | * @param JsonReadable $reader |
| 25 | - * @return mixed |
|
| 25 | + * @return null|boolean |
|
| 26 | 26 | */ |
| 27 | 27 | public function read(JsonReadable $reader): ?bool |
| 28 | 28 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | * Read the next value, convert it to its type and return it |
| 29 | 29 | * |
| 30 | 30 | * @param JsonReadable $reader |
| 31 | - * @return mixed |
|
| 31 | + * @return JsonElement |
|
| 32 | 32 | * @throws \LogicException If the token can not be handled |
| 33 | 33 | */ |
| 34 | 34 | public function read(JsonReadable $reader): JsonElement |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * Read the next value, convert it to its type and return it |
| 23 | 23 | * |
| 24 | 24 | * @param JsonReadable $reader |
| 25 | - * @return mixed |
|
| 25 | + * @return null|string |
|
| 26 | 26 | */ |
| 27 | 27 | public function read(JsonReadable $reader): ?string |
| 28 | 28 | { |
@@ -94,6 +94,7 @@ |
||
| 94 | 94 | * Sets whether nulls are serialized |
| 95 | 95 | * |
| 96 | 96 | * @param bool $serializeNull |
| 97 | + * @return void |
|
| 97 | 98 | */ |
| 98 | 99 | public function setSerializeNull(bool $serializeNull): void; |
| 99 | 100 | } |