Skip to content

Commit

Permalink
fix stripe consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
kurozumi committed Sep 18, 2024
1 parent 9b846d1 commit 5a9b161
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions RemoteEvent/Consumer/StripeConsumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
#[AsRemoteEventConsumer(name: 'stripe')]
class StripeConsumer implements ConsumerInterface
{
private EventDispatcherInterface $eventDispatcher;

public function __construct(EventDispatcherInterface $eventDispatcher)
public function __construct(
private readonly EventDispatcherInterface $eventDispatcher)
{
$this->eventDispatcher = $eventDispatcher;
}

public function consume(RemoteEvent $event): void
Expand Down

0 comments on commit 5a9b161

Please sign in to comment.