1 Commits

Author SHA1 Message Date
90948b633f magic methods fix fixed 2026-03-09 09:18:05 +05:00

View File

@@ -72,7 +72,7 @@ class record
*/ */
public function __set(string $name, mixed $value = null): void public function __set(string $name, mixed $value = null): void
{ {
if (property_exists(static, $name)) { if (array_key_exists($name, $this->values)) {
// Exist the property // Exist the property
// Writing the value and exit // Writing the value and exit