We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9535a80 commit 0e5a7feCopy full SHA for 0e5a7fe
tests/Support/SupportJsTest.php
@@ -53,7 +53,7 @@ public function testJsonSerializable()
53
54
public $bar = 'not world';
55
56
- public function jsonSerialize()
+ public function jsonSerialize(): mixed
57
{
58
return ['foo' => 'hello', 'bar' => 'world'];
59
}
@@ -85,7 +85,7 @@ public function toJson($options = 0)
85
return json_encode(['foo' => 'hello', 'bar' => 'world'], $options);
86
87
88
89
90
return ['foo' => 'not hello', 'bar' => 'not world'];
91
0 commit comments