Skip to content

Commit f9d5e24

Browse files
committed
minor #47181 [Messenger] Remove an unused method (fabpot)
This PR was merged into the 6.2 branch. Discussion ---------- [Messenger] Remove an unused method | Q | A | ------------- | --- | Branch? | 6.2 | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | n/a <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT | Doc PR | n/a A minor cleanup as the `stop()` method was removed from the `ReceiverInterface` in Symfony 4.3. Commits ------- 2fee862 [Messenger] Remove an unused method
2 parents 3eaf7b7 + 2fee862 commit f9d5e24

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Symfony/Component/Messenger/Transport/Sync/SyncTransport.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@ public function get(): iterable
3737
throw new InvalidArgumentException('You cannot receive messages from the Messenger SyncTransport.');
3838
}
3939

40-
public function stop(): void
41-
{
42-
throw new InvalidArgumentException('You cannot call stop() on the Messenger SyncTransport.');
43-
}
44-
4540
public function ack(Envelope $envelope): void
4641
{
4742
throw new InvalidArgumentException('You cannot call ack() on the Messenger SyncTransport.');

0 commit comments

Comments
 (0)