modify
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ class Producer extends Component
|
|||||||
* @throws \Snowflake\Exception\ConfigException
|
* @throws \Snowflake\Exception\ConfigException
|
||||||
* @throws \Snowflake\Exception\NotFindClassException
|
* @throws \Snowflake\Exception\NotFindClassException
|
||||||
*/
|
*/
|
||||||
public function get($name): Producer|bool
|
public function get($name): Client|bool
|
||||||
{
|
{
|
||||||
if (empty($this->producers)) {
|
if (empty($this->producers)) {
|
||||||
$this->producers = Config::get('rpc.producers');
|
$this->producers = Config::get('rpc.producers');
|
||||||
|
|||||||
Reference in New Issue
Block a user