This commit is contained in:
as2252258@163.com
2021-03-23 02:31:03 +08:00
parent 807e8e25f7
commit b9e2704313
+1 -1
View File
@@ -27,7 +27,7 @@ class Producer extends Component
* @throws \Snowflake\Exception\ConfigException
* @throws \Snowflake\Exception\NotFindClassException
*/
public function get($name): Producer|bool
public function get($name): Client|bool
{
if (empty($this->producers)) {
$this->producers = Config::get('rpc.producers');