Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rafageist committed Jul 4, 2019
1 parent ea423e4 commit 66e5e3e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ use divengine/nodes;

$db = new nodes("database/contacts");

$id = $db->addNode(array(
$id = $db->addNode([
"name" => "Peter",
"age" => 25
));
]);

$db->setNode($id, array(
$db->setNode($id, [
"email" => "[email protected]",
"phone" => "+1222553335"
));
]);

$contact = $db->getNode($id);

Expand Down

0 comments on commit 66e5e3e

Please sign in to comment.