Compare commits

...

1 Commits

Author SHA1 Message Date
as2252258 10de0d5e08 eee 2026-07-03 16:10:28 +08:00
+3 -3
View File
@@ -53,11 +53,11 @@ class Client
// TODO: Implement __get() method.
$getter = 'get' . ucfirst($name);
if (method_exists($this, $getter)) {
return $this->$getter();
return $this->abstracts->$getter();
} else if (method_exists($this, $name)) {
return $this->$name();
return $this->abstracts->$name();
} else if (property_exists($this, $name)) {
return $this->$name;
return $this->abstracts->$name;
} else {
throw new Exception('Property|Method "' . $name . '" does not exist.');
}