改名
This commit is contained in:
+2
-2
@@ -44,8 +44,8 @@ class Producer extends Component
|
|||||||
|
|
||||||
public function __construct($config = [])
|
public function __construct($config = [])
|
||||||
{
|
{
|
||||||
$this->conf = Snowflake::createObject(Conf::class);
|
$this->conf = new Conf();
|
||||||
$this->topicConf = Snowflake::createObject(TopicConf::class);
|
$this->topicConf = new TopicConf();
|
||||||
parent::__construct($config);
|
parent::__construct($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user