We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5a4046 commit 82fe71bCopy full SHA for 82fe71b
src/SettingsContainerAbstract.php
@@ -56,7 +56,7 @@ protected function construct():void{
56
*/
57
public function __get(string $property){
58
59
- if($this->__isset($property)){
+ if(property_exists($this, $property) && !$this->isPrivate($property)){
60
61
if(method_exists($this, 'get_'.$property)){
62
return call_user_func([$this, 'get_'.$property]);
0 commit comments