File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments