File tree 1 file changed +3
-2
lines changed
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.
43
43
| Extension | Description |
44
44
| -----------------------------------------------------------| ----------------------------------------------------------------------------|
45
45
| [ 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 |
46
47
| [ Warm Up] ( https://github.com/bavix/laravel-wallet-warmup ) | Addition to the laravel-wallet library for refresh balance wallets |
47
48
48
49
### Usage
@@ -103,7 +104,7 @@ class Item extends Model implements ProductInterface
103
104
{
104
105
use HasWallet;
105
106
106
- public function getAmountProduct(Customer $customer)
107
+ public function getAmountProduct(Customer $customer): int|string
107
108
{
108
109
return 100;
109
110
}
@@ -139,7 +140,7 @@ class Item extends Model implements ProductLimitedInterface
139
140
return true;
140
141
}
141
142
142
- public function getAmountProduct(Customer $customer)
143
+ public function getAmountProduct(Customer $customer): int|string
143
144
{
144
145
return 100;
145
146
}
You can’t perform that action at this time.
0 commit comments