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 20cc1b9 commit be26b71Copy full SHA for be26b71
src/Entities/Entity.php
@@ -141,7 +141,7 @@ public function __call($method, $args)
141
$sub_entities = $this->subEntities();
142
143
if (isset($sub_entities[$property_name])) {
144
- return new $sub_entities[$property_name]($property);
+ return new $sub_entities[$property_name]($property, $this->getProperty('bot_name'));
145
}
146
147
return $property;
0 commit comments