Skip to content

Commit

Permalink
deprecated Cart::getUniqueItems
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Apr 26, 2022
1 parent fa4ce80 commit 6f8640e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 6 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [8.4.1] - 2022-04-26
### Deprecated
- Cart::getUniqueItems

## [8.4.0] - 2022-04-20
### Added
- MaximalTaxable
Expand Down Expand Up @@ -839,7 +843,8 @@ The operation is now executed in the transaction and updates the new `refund` fi
- Exceptions: AmountInvalid, BalanceIsEmpty.
- Models: Transfer, Transaction.

[Unreleased]: https://github.com/bavix/laravel-wallet/compare/8.4.0...develop
[Unreleased]: https://github.com/bavix/laravel-wallet/compare/8.4.1...develop
[8.4.1]: https://github.com/bavix/laravel-wallet/compare/8.4.0...8.4.1
[8.4.0]: https://github.com/bavix/laravel-wallet/compare/8.3.0...8.4.0
[8.3.0]: https://github.com/bavix/laravel-wallet/compare/8.2.1...8.3.0
[8.2.1]: https://github.com/bavix/laravel-wallet/compare/8.2.0...8.2.1
Expand Down
3 changes: 3 additions & 0 deletions src/Objects/Cart.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@ public function getItems(): array

/**
* @return Product[]
*
* @deprecated Will be removed in 9.x
* @see getItems
*/
public function getUniqueItems(): array
{
Expand Down

0 comments on commit 6f8640e

Please sign in to comment.