Skip to content

Commit

Permalink
Add missing #[Override]
Browse files Browse the repository at this point in the history
  • Loading branch information
jerowork committed Oct 7, 2024
1 parent b3e54ec commit cf74a13
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SymfonyEventBus.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
use Gember\EventSourcing\Util\Messaging\MessageBus\HandlingMessageFailedException;
use Symfony\Component\Messenger\Exception\ExceptionInterface;
use Symfony\Component\Messenger\MessageBusInterface;
use Override;

final readonly class SymfonyEventBus implements EventBus
{
public function __construct(
private MessageBusInterface $eventBus,
) {}

#[Override]
public function handle(object $event): void
{
try {
Expand Down

0 comments on commit cf74a13

Please sign in to comment.