Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit cefc0a1

Browse filesBrowse files
committed
fix fabbot complaint
1 parent 921eef5 commit cefc0a1
Copy full SHA for cefc0a1

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎src/Symfony/Component/Messenger/Tests/WorkerTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Tests/WorkerTest.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

‎src/Symfony/Component/Messenger/Worker.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Worker.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.