Skip to content

Commit c4be1ca

Browse files
committed
Finish work
1 parent 1fc7237 commit c4be1ca

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ CHANGELOG
2727
* Deprecate not setting the `reset_on_message` config option, its default value will change to `true` in 6.0
2828
* Add log when worker should stop.
2929
* Add log when `SIGTERM` is received.
30-
* Add the options `stats` and `class-filter` to `FailedMessagesShowCommand`
30+
* Add `--stats` and `--class-filter` options to `FailedMessagesShowCommand`
3131

3232
5.3
3333
---

Command/FailedMessagesShowCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9090
return 0;
9191
}
9292

93-
private function listMessages(?string $failedTransportName, SymfonyStyle $io, int $max, ?string $classFilter)
93+
private function listMessages(?string $failedTransportName, SymfonyStyle $io, int $max, string $classFilter = null)
9494
{
9595
/** @var ListableReceiverInterface $receiver */
9696
$receiver = $this->getReceiver($failedTransportName);

Tests/Command/FailedMessagesShowCommandTest.php

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function testBasicRunWithServiceLocator()
7878
Error Things are bad!
7979
Error Code 123
8080
Error Class Exception
81-
Transport async
81+
Transport async
8282
EOF
8383
,
8484
$redeliveryStamp->getRedeliveredAt()->format('Y-m-d H:i:s')),
@@ -120,7 +120,7 @@ public function testMultipleRedeliveryFailsWithServiceLocator()
120120
Error Things are bad!
121121
Error Code 123
122122
Error Class Exception
123-
Transport async
123+
Transport async
124124
EOF
125125
,
126126
$redeliveryStamp2->getRedeliveredAt()->format('Y-m-d H:i:s')),

0 commit comments

Comments
 (0)