Skip to content

update README.md #494

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2022
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