Skip to content

Commit eac62f4

Browse files
Merge branch '6.4' into 7.3
* 6.4: CS fix
2 parents 9251de2 + 3cec296 commit eac62f4

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

src/Symfony/Component/Messenger/Tests/Command/FailedMessagesShowCommandTest.php

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -498,12 +498,33 @@ public function testTableOutputGoesToStdout()
498498
public function testPendingMessageCountGoesToStdout()
499499
{
500500
$receiver = new class implements ListableReceiverInterface, MessageCountAwareInterface {
501-
public function get(): iterable { return []; }
502-
public function ack(Envelope $envelope): void {}
503-
public function reject(Envelope $envelope): void {}
504-
public function find(mixed $id): ?Envelope { return null; }
505-
public function all(int $limit = null): iterable { return []; }
506-
public function getMessageCount(): int { return 3; }
501+
public function get(): iterable
502+
{
503+
return [];
504+
}
505+
506+
public function ack(Envelope $envelope): void
507+
{
508+
}
509+
510+
public function reject(Envelope $envelope): void
511+
{
512+
}
513+
514+
public function find(mixed $id): ?Envelope
515+
{
516+
return null;
517+
}
518+
519+
public function all(?int $limit = null): iterable
520+
{
521+
return [];
522+
}
523+
524+
public function getMessageCount(): int
525+
{
526+
return 3;
527+
}
507528
};
508529

509530
$serviceLocator = $this->createMock(ServiceLocator::class);

0 commit comments

Comments
 (0)