Skip to content

Commit 82fe71b

Browse files
committed
:octocat: might aswell change the __isset() method...
1 parent e5a4046 commit 82fe71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SettingsContainerAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function construct():void{
5656
*/
5757
public function __get(string $property){
5858

59-
if($this->__isset($property)){
59+
if(property_exists($this, $property) && !$this->isPrivate($property)){
6060

6161
if(method_exists($this, 'get_'.$property)){
6262
return call_user_func([$this, 'get_'.$property]);

0 commit comments

Comments
 (0)