Skip to content

Commit f1571a6

Browse files
Fix call has an unexisting method
1 parent 1e4426a commit f1571a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Command/QueueReceiveCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private function pollQueue($registry, $name)
9797
);
9898
}
9999

100-
$dispatcher = $this->getContainer()->get('event_dispatcher');
100+
$dispatcher = $this->container->get('event_dispatcher');
101101
$messages = $registry->get($name)->receive();
102102

103103
foreach ($messages as $message) {

0 commit comments

Comments
 (0)