eee
This commit is contained in:
@@ -118,9 +118,12 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq
|
||||
|
||||
public function __get(string $name)
|
||||
{
|
||||
if (method_exists($this, $name)) {
|
||||
if (property_exists($this, $name)) {
|
||||
return $this->$name;
|
||||
}
|
||||
if (method_exists($this, $name)) {
|
||||
return $this->$name();
|
||||
}
|
||||
return parent::__get($name); // TODO: Change the autogenerated stub
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user