改名
This commit is contained in:
@@ -28,12 +28,13 @@ use Snowflake\Snowflake;
|
||||
|
||||
|
||||
/**
|
||||
* @param array $handler
|
||||
* @return mixed
|
||||
* @param mixed $class
|
||||
* @param mixed $method
|
||||
* @return bool
|
||||
* @throws Exception
|
||||
*/
|
||||
public function execute(mixed $class, mixed $method = ''): mixed
|
||||
{
|
||||
public function execute(mixed $class, mixed $method = ''): bool
|
||||
{
|
||||
$rpc = Snowflake::app()->getRpc();
|
||||
$rpc->addConsumer($this->cmd, [$class, $method]);
|
||||
return true; // TODO: Change the autogenerated stub
|
||||
|
||||
Reference in New Issue
Block a user