Skip to content

Commit 6f8640e

Browse files
committed
deprecated Cart::getUniqueItems
1 parent fa4ce80 commit 6f8640e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
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.4.1] - 2022-04-26
10+
### Deprecated
11+
- Cart::getUniqueItems
12+
913
## [8.4.0] - 2022-04-20
1014
### Added
1115
- MaximalTaxable
@@ -839,7 +843,8 @@ The operation is now executed in the transaction and updates the new `refund` fi
839843
- Exceptions: AmountInvalid, BalanceIsEmpty.
840844
- Models: Transfer, Transaction.
841845

842-
[Unreleased]: https://github.com/bavix/laravel-wallet/compare/8.4.0...develop
846+
[Unreleased]: https://github.com/bavix/laravel-wallet/compare/8.4.1...develop
847+
[8.4.1]: https://github.com/bavix/laravel-wallet/compare/8.4.0...8.4.1
843848
[8.4.0]: https://github.com/bavix/laravel-wallet/compare/8.3.0...8.4.0
844849
[8.3.0]: https://github.com/bavix/laravel-wallet/compare/8.2.1...8.3.0
845850
[8.2.1]: https://github.com/bavix/laravel-wallet/compare/8.2.0...8.2.1

src/Objects/Cart.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ public function getItems(): array
135135

136136
/**
137137
* @return Product[]
138+
*
139+
* @deprecated Will be removed in 9.x
140+
* @see getItems
138141
*/
139142
public function getUniqueItems(): array
140143
{

0 commit comments

Comments
 (0)