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 aeb22b4 commit ef89696Copy full SHA for ef89696
1 file changed
tests/WebFiori/Tests/Obj1.php
@@ -38,8 +38,8 @@ public function getProperty04() {
38
}
39
public function toJSON() : Json {
40
$json = new Json();
41
- $json->addNumber('property-00', $this->getProperty00());
42
- $json->addNumber('property-01', $this->getProperty01());
+ $json->add('property-00', $this->getProperty00());
+ $json->add('property-01', $this->getProperty01());
43
$json->add('property-02', $this->getProperty02());
44
return $json;
45
0 commit comments