Skip to content

Commit 3d40fca

Browse files
committed
update README.md
1 parent 79f3440 commit 3d40fca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ To perform the migration, you will be [helped by the instruction](https://bavix.
4343
| Extension | Description |
4444
|-----------------------------------------------------------|----------------------------------------------------------------------------|
4545
| [Swap](https://github.com/bavix/laravel-wallet-swap) | Addition to the laravel-wallet library for quick setting of exchange rates |
46+
| [uuid](https://github.com/bavix/laravel-wallet-uuid) | Addition to laravel-wallet to support model uuid keys |
4647
| [Warm Up](https://github.com/bavix/laravel-wallet-warmup) | Addition to the laravel-wallet library for refresh balance wallets |
4748

4849
### Usage
@@ -103,7 +104,7 @@ class Item extends Model implements ProductInterface
103104
{
104105
use HasWallet;
105106

106-
public function getAmountProduct(Customer $customer)
107+
public function getAmountProduct(Customer $customer): int|string
107108
{
108109
return 100;
109110
}
@@ -139,7 +140,7 @@ class Item extends Model implements ProductLimitedInterface
139140
return true;
140141
}
141142

142-
public function getAmountProduct(Customer $customer)
143+
public function getAmountProduct(Customer $customer): int|string
143144
{
144145
return 100;
145146
}

0 commit comments

Comments
 (0)