Skip to content

Commit 265dadb

Browse files
committed
PHPORM-241 Add return type to CommandSubscriber
1 parent ce97048 commit 265dadb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CommandSubscriber.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,17 @@ public function __construct(private Connection $connection)
2121
{
2222
}
2323

24-
public function commandStarted(CommandStartedEvent $event)
24+
public function commandStarted(CommandStartedEvent $event): void
2525
{
2626
$this->commands[$event->getOperationId()] = $event;
2727
}
2828

29-
public function commandFailed(CommandFailedEvent $event)
29+
public function commandFailed(CommandFailedEvent $event): void
3030
{
3131
$this->logQuery($event);
3232
}
3333

34-
public function commandSucceeded(CommandSucceededEvent $event)
34+
public function commandSucceeded(CommandSucceededEvent $event): void
3535
{
3636
$this->logQuery($event);
3737
}

0 commit comments

Comments
 (0)