Update nsq-consumer.stub

This commit is contained in:
李铭昕 2020-03-12 09:53:51 +08:00
parent 2f919726aa
commit 0f25bcb6be

View File

@ -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());