Completed
Push — master ( 070f3f...043491 )
by Nate
03:23
created
src/Element/JsonPrimitive.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/BooleanTypeAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/JsonElementTypeAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Internal/TypeAdapter/StringTypeAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/JsonWritable.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -94,6 +94,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Internal/JsonElementReader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@
 block discarded – undo
374 374
     /**
375 375
      * Pop the last element off the stack and return it
376 376
      *
377
-     * @return JsonElement|Iterator
377
+     * @return JsonObject
378 378
      */
379 379
     private function pop()
380 380
     {
Please login to merge, or discard this patch.