Skip to content

Commit aeb22b4

Browse files
committed
Update Obj1.php
1 parent d9846ae commit aeb22b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/WebFiori/Tests/Obj1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function getProperty04() {
3838
}
3939
public function toJSON() : Json {
4040
$json = new Json();
41-
$json->addString('property-00', $this->getProperty00());
41+
$json->addNumber('property-00', $this->getProperty00());
4242
$json->addNumber('property-01', $this->getProperty01());
4343
$json->add('property-02', $this->getProperty02());
4444
return $json;

0 commit comments

Comments
 (0)