Skip to content

Commit eb2525b

Browse files
committed
fix php unit
1 parent 76f5bff commit eb2525b

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
</testsuite>
3232
</testsuites>
3333
<php>
34-
<env name="RABBITMQ_HOST" value="eagle-rmq"/>
34+
<env name="RABBITMQ_HOST" value="localhost"/>
3535
<env name="QUEUE_CONNECTION" value="rabbitmq"/>
3636
<env name="RABBITMQ_PORT" value="5672"/>
3737
<env name="PORT_SSL" value="5671"/>

src/Console/ConsumeCommand.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,8 @@ final class ConsumeCommand extends WorkCommand
3434
protected $description = 'Consume messages';
3535

3636

37-
public function handle(): void
37+
public function handle(): int|null
3838
{
39-
/*
40-
* @var Consumer $consumer
41-
*/
4239
$consumer = $this->worker;
4340

4441
$consumer->setContainer($this->laravel);

0 commit comments

Comments
 (0)