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)
{
if ($this->has($name)) {
return $this->get($name);
if (!$this->has($name)) {
return parent::__get($name);
} else {
return parent::__get($name); // TODO: Change the autogenerated stub
return $this->get($name);
}
}