Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges authored and github-actions[bot] committed Aug 5, 2024
1 parent 8bbfae0 commit 5fe17bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Concerns/PrepareMiddlewares.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ private function wrapMiddleware(Middleware|string|callable $middleware, ?Message
default => throw new \LogicException('Invalid middleware.')
};

return static fn (callable $handler) => static fn ($message) => $middleware($message, fn($message) => $handler($message, $consumer));
return static fn (callable $handler) => static fn ($message) => $middleware($message, fn ($message) => $handler($message, $consumer));
}
}

0 comments on commit 5fe17bb

Please sign in to comment.