mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-01 11:17:54 +08:00
Update nsq-consumer.stub
This commit is contained in:
parent
2f919726aa
commit
0f25bcb6be
@ -14,7 +14,7 @@ use Hyperf\Nsq\Result;
|
||||
*/
|
||||
class %CLASS% extends AbstractConsumer
|
||||
{
|
||||
public function consume(Message $payload): string
|
||||
public function consume(Message $payload): ?string
|
||||
{
|
||||
var_dump($payload->getBody());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user