This commit is contained in:
2023-11-30 17:54:42 +08:00
parent 91e986e613
commit b74426a40c
+3 -3
View File
@@ -70,10 +70,10 @@ class LocalService extends Component implements LocalServiceInterface
*/ */
public function __get(string $name) public function __get(string $name)
{ {
if ($this->has($name)) { if (!$this->has($name)) {
return $this->get($name); return parent::__get($name);
} else { } else {
return parent::__get($name); // TODO: Change the autogenerated stub return $this->get($name);
} }
} }