Skip to content

Commit ef89696

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

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/WebFiori/Tests/Obj1.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ public function getProperty04() {
3838
}
3939
public function toJSON() : Json {
4040
$json = new Json();
41-
$json->addNumber('property-00', $this->getProperty00());
42-
$json->addNumber('property-01', $this->getProperty01());
41+
$json->add('property-00', $this->getProperty00());
42+
$json->add('property-01', $this->getProperty01());
4343
$json->add('property-02', $this->getProperty02());
4444
return $json;
4545
}

0 commit comments

Comments
 (0)