Skip to content

Commit 094ef25

Browse files
committed
event dispatcher to interface
1 parent 1bed3e0 commit 094ef25

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"require": {
2525
"ext-pdo": "*",
2626
"php": "^7.4|^8.0",
27+
"illuminate/contracts": "^6.0|^7.0|^8.0",
2728
"illuminate/database": "^6.0|^7.0|^8.0",
2829
"illuminate/events": "^6.0|^7.0|^8.0",
2930
"doctrine/dbal": "^2.8|^3.0",

src/Internal/Service/DispatcherService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Bavix\Wallet\Internal\Events\WalletCreatedEventInterface;
1010
use Bavix\Wallet\Internal\Exceptions\ExceptionInterface;
1111
use Bavix\Wallet\Internal\Exceptions\UnknownEventException;
12-
use Illuminate\Events\Dispatcher;
12+
use Illuminate\Contracts\Events\Dispatcher;
1313

1414
final class DispatcherService implements DispatcherServiceInterface
1515
{

0 commit comments

Comments
 (0)