diff --git a/services/nginx/app/classes/object_property.php b/services/nginx/app/classes/object_property.php index f48ef872..6c974fed 100644 --- a/services/nginx/app/classes/object_property.php +++ b/services/nginx/app/classes/object_property.php @@ -100,6 +100,15 @@ class object_property $db->query($sql); } + /** + * Alias for set() + * @param mixed $value The value of the field in the database table + */ + public function update(mixed $value): void + { + $this->set($value); + } + /** * Nullify the value of the field in the database table */