Skip to content

Commit df5def4

Browse files
authored
Merge pull request #445 from bavix/develop
Event dispatcher to interface
2 parents d78611c + d6126ca commit df5def4

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

changelog.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [8.0.6] - 2022-02-26
10+
### Updated
11+
- Replaced an object with an interface (Events) #444 @ysfkaya
12+
913
## [8.0.5] - 2022-02-21
1014
### Added
1115
- Spanish language #443 @EdX9
@@ -797,7 +801,8 @@ The operation is now executed in the transaction and updates the new `refund` fi
797801
- Exceptions: AmountInvalid, BalanceIsEmpty.
798802
- Models: Transfer, Transaction.
799803

800-
[Unreleased]: https://github.com/bavix/laravel-wallet/compare/8.0.5...develop
804+
[Unreleased]: https://github.com/bavix/laravel-wallet/compare/8.0.6...develop
805+
[8.0.6]: https://github.com/bavix/laravel-wallet/compare/8.0.5...8.0.6
801806
[8.0.5]: https://github.com/bavix/laravel-wallet/compare/8.0.4...8.0.5
802807
[8.0.4]: https://github.com/bavix/laravel-wallet/compare/8.0.3...8.0.4
803808
[8.0.3]: https://github.com/bavix/laravel-wallet/compare/8.0.2...8.0.3

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": "^8.0",
27+
"illuminate/contracts": "^9.0",
2728
"illuminate/database": "^9.0",
2829
"illuminate/events": "^9.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)