Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down