Skip to content

Commit

Permalink
Apply Rector changes (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorprogger authored and github-actions[bot] committed Sep 20, 2024
1 parent c86ce07 commit 66a11e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Worker/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private function getHandler(string $name): ?callable
if ($definition === null && $this->container->has($name)) {
$handler = $this->container->get($name);
if ($handler instanceof MessageHandlerInterface) {
$this->handlersCached[$name] = [$handler, 'handle'];
$this->handlersCached[$name] = $handler->handle(...);

return $this->handlersCached[$name];
}
Expand Down

0 comments on commit 66a11e4

Please sign in to comment.