From 3d40fcac3a95431daf4c1c308c947142b30b1448 Mon Sep 17 00:00:00 2001 From: Maxim Babichev Date: Mon, 2 May 2022 11:10:56 +0300 Subject: [PATCH] update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c5981a8b8..a0f1de663 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ To perform the migration, you will be [helped by the instruction](https://bavix. | Extension | Description | |-----------------------------------------------------------|----------------------------------------------------------------------------| | [Swap](https://github.com/bavix/laravel-wallet-swap) | Addition to the laravel-wallet library for quick setting of exchange rates | +| [uuid](https://github.com/bavix/laravel-wallet-uuid) | Addition to laravel-wallet to support model uuid keys | | [Warm Up](https://github.com/bavix/laravel-wallet-warmup) | Addition to the laravel-wallet library for refresh balance wallets | ### Usage @@ -103,7 +104,7 @@ class Item extends Model implements ProductInterface { use HasWallet; - public function getAmountProduct(Customer $customer) + public function getAmountProduct(Customer $customer): int|string { return 100; } @@ -139,7 +140,7 @@ class Item extends Model implements ProductLimitedInterface return true; } - public function getAmountProduct(Customer $customer) + public function getAmountProduct(Customer $customer): int|string { return 100; }