diff --git a/system/Entity/Entity.php b/system/Entity/Entity.php index 8495fadf6126..35e10414d1f8 100644 --- a/system/Entity/Entity.php +++ b/system/Entity/Entity.php @@ -465,7 +465,7 @@ public function __set(string $key, $value = null) if (method_exists($this, '_' . $method)) { $this->{'_' . $method}($value); - return $this; + return; } // If a "`set` + $key" method exists, it is also a setter.