Skip to content
Snippets Groups Projects

Devel

Merged Dr. Marcel Wunderlich requested to merge devel into main
Compare and Show latest version
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -136,7 +136,7 @@ class Snapshot extends Entity implements JsonSerializable {
return $this->version >= $minVersion;
}
protected function setter($name, $args) {
protected function setter($name, $args): void {
// IValue needs special treatment
if (property_exists($this, $name) && $this->$name instanceof IValue) {
$this->$name->setData($args[0]);
@@ -146,7 +146,7 @@ class Snapshot extends Entity implements JsonSerializable {
}
}
protected function getter($name) {
protected function getter($name): mixed {
// IValue needs special treatment
if (property_exists($this, $name) && $this->$name instanceof IValue) {
return json_encode($this->$name->jsonSerialize());
Loading