File tree Expand file tree Collapse file tree 1 file changed +27
-6
lines changed
src/Symfony/Component/Messenger/Tests/Command Expand file tree Collapse file tree 1 file changed +27
-6
lines changed Original file line number Diff line number Diff 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);
You can’t perform that action at this time.
0 commit comments