aboutsummaryrefslogtreecommitdiff
path: root/src/model/entities
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/entities')
-rw-r--r--src/model/entities/NodeData.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/entities/NodeData.php b/src/model/entities/NodeData.php
index 19670fe..4c07a69 100644
--- a/src/model/entities/NodeData.php
+++ b/src/model/entities/NodeData.php
@@ -70,7 +70,7 @@ class NodeData
70 { 70 {
71 $this->data = $data; 71 $this->data = $data;
72 }*/ 72 }*/
73 public function updateData(string $key, string|array $value = ''): void 73 public function updateData(string $key, string|bool|array $value = ''): void
74 { 74 {
75 if($value !== ''){ 75 if($value !== ''){
76 $this->data[$key] = $value; 76 $this->data[$key] = $value;