File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Symfony/Component/Messenger Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,7 @@ public function testWorkerLimitQueuesUnsupported()
278278
279279 $ worker = new Worker (['transport1 ' => $ receiver1 , 'transport2 ' => $ receiver2 ], $ bus );
280280 $ this ->expectException (RuntimeException::class);
281- $ this ->expectExceptionMessage (sprintf ('Receiver for transport2 does not implement %s ' , QueueReceiverInterface::class));
281+ $ this ->expectExceptionMessage (sprintf ('Receiver for transport2 does not implement "%s". ' , QueueReceiverInterface::class));
282282 $ worker ->run (['queues ' => ['foo ' ]]);
283283 }
284284
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function run(array $options = []): void
7474 // if queue names are specified, all receivers must implement the QueueReceiverInterface
7575 foreach ($ this ->receivers as $ transportName => $ receiver ) {
7676 if (!$ receiver instanceof QueueReceiverInterface) {
77- throw new RuntimeException (sprintf ('Receiver for "%s" does not implement %s ' , $ transportName , QueueReceiverInterface::class));
77+ throw new RuntimeException (sprintf ('Receiver for "%s" does not implement "%s". ' , $ transportName , QueueReceiverInterface::class));
7878 }
7979 }
8080 }
You can’t perform that action at this time.
0 commit comments