From 6f8640e7eaac9462326c72cb2164334f218c4133 Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Tue, 26 Apr 2022 12:58:38 +0300 Subject: [PATCH] deprecated Cart::getUniqueItems --- changelog.md | 7 ++++++- src/Objects/Cart.php | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index a4ce1ee5a..d07d424e1 100644 --- a/changelog.md +++ b/changelog.md @@ -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 @@ -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 diff --git a/src/Objects/Cart.php b/src/Objects/Cart.php index c3cf31872..58bd8b8bd 100644 --- a/src/Objects/Cart.php +++ b/src/Objects/Cart.php @@ -135,6 +135,9 @@ public function getItems(): array /** * @return Product[] + * + * @deprecated Will be removed in 9.x + * @see getItems */ public function getUniqueItems(): array {